bond
bond copied to clipboard
fat arrow function syntax breaks constructor detection
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)