Join Slack
Powered by
yeah, but the guys at fable has the same problem a...
# javascript
d
danfma
11/25/2016, 3:57 PM
yeah, but the guys at fable has the same problem and they resolve that by wrapping the definition like this:
Copy code
var MyClass = (function() { function MyClass() { } MyClass.prototype… return MyClass; }());
3
Views
Open in Slack
Previous
Next