Re:ES6 in Depth – Symbols
by jkrems on Friday June 12, 2015 @03:07PM
(#9707928)
The other funny thing is: ES6 introduced `Map`, `Set`, and the `class` keyword. All of them throw if you try to create a new instance without `new`. It also introduced `Symbol`, which throws if you do use `new`.
[ Parent
| on HN ]
There are no comments on this comment yet.