Erik Arvidsson wrote:
I'm with Allen, Andreas and others that the craziness needs to stop.

Which craziness?

class C extends B {}

C instanceof B?

That's not just in built-ins, it is in the cowpath to pave -- it's in CoffeeScript:

class B
  p: 42

class C extends B
  q: 99
  constructor: (p, q) ->
    @p = p
    @q = q

console.log(C.prototype instanceof B)
// true

/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to