My 2 cents
> TypeScript, which like it or not is a perfectly well-defined language.
TS these days is a broken, diverging, branch of latest ECMAScript features,
IMO.
```js
class List extends Array { }
console.log(new List instanceof List);
// false .. seriously
```
Try it yourself. [1]
You can also argue that type, enum, interface, and private are also not
aligned with ECMAScript so as much as "well-defined language" as it is, it
shouldn't compromise any future development of an already "well-defined
language" too which is JavaScript.
Best Regards
[1]
http://www.typescriptlang.org/play/#src=class%20List%20extends%20Array%20%7B%20%7D%0D%0A%0D%0Aconsole.log(new%20List%20instanceof%20List)%3B%20%2F%2F%20false
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss