DescriptionThe code we're fixing dates from when ES6 exempted only Function and
Array from the requirement that their .prototype be a plain object
rather than an exotic instance of their constructor type. This was
found not to be web compatible, so ES6 now additionally exempts
Boolean, Number, and String. Importantly, Date, RegExp, and WeakMap
are not exempt.
Patch Set 1 #
Total comments: 2
Patch Set 2 : ES6 changed to exempt more primordials prototypes from being plain object. #MessagesTotal messages: 8
|