19:06 | <Andreu Botella> | Hey, I was looking through some of the notes from the last plenary, and I noticed that for "Don't call well-known Symbol methods for RegExp on primitive values", it was pointed out that core-js implements the proposed PR rather than the spec |
19:06 | <Andreu Botella> | and that doesn't seem to be true: https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.string.match.js#L20 |
19:37 | <bakkot> | I assume that claim was based on https://github.com/tc39/ecma262/pull/3009#issuecomment-1451639187 |
20:07 | <Andreu Botella> | I somehow missed that comment when looking through that issue 😅 |
20:10 | <Andreu Botella> | but yeah, defining String.prototype[Symbol.match] so it throws does make core-js's String.prototype.match polyfill throw |