bond icon indicating copy to clipboard operation
bond copied to clipboard

fat arrow function syntax breaks constructor detection

Open EndangeredMassa opened this issue 9 years ago • 0 comments

When using bond#to with fat-arrow function syntax, the constructor detection breaks:

TypeError: Function has non-object prototype 'undefined' in instanceof check
      at Object.spy [as getPostComments] (node_modules/bondjs/lib/bond.js:16:48)

EndangeredMassa avatar Dec 21 '15 22:12 EndangeredMassa