Skip to content

Commit

Permalink
Switch lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jun 12, 2019
1 parent f02f616 commit 71054e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const changePrototype = (to, from) => {

const wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\n${fromBody}`;

const toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');
const toStringDescriptors = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');
const toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');

const changeToString = (to, from, name) => {
const withName = name === '' ? '' : `with ${name.trim()}() `;
Expand Down

0 comments on commit 71054e1

Please sign in to comment.