ncdbg
ncdbg copied to clipboard
The __proto__ of a CoffeeScript class isn't the base class
Investigate if this is ok or wrong!
Given:
class Base
class Sub extends Base
...inspecting the properties of a Sub
instance shows the proto property to be named Sub as well. That in turn has Base as proto.
Chrome does this: