yeah, but the guys at fable has the same problem a...
# javascript
d
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;
}());