Closed ajklein closed 9 years ago
Fixed in the spec. I don't think we need to bother fixing this in the polyfill since browsers don't implement @@toPrimitive yet.
I do think it would still be worthwhile to have the polyfill do if (typeof Symbol === 'function' && typeof Symbol.toPrimitive === 'symbol')
and add the mechanism, even if there's no browsers that implement it yet.
It's likely there will be browsers implementing it before SIMD.
Sure, we could do that. I'd be glad to review a pull request implementing that.
This is observable, for example, in: