ncdbg icon indicating copy to clipboard operation
ncdbg copied to clipboard

The __proto__ of a CoffeeScript class isn't the base class

Open provegard opened this issue 7 years ago • 1 comments

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.

provegard avatar May 24 '17 21:05 provegard

Chrome does this:

image

provegard avatar Jun 29 '17 13:06 provegard