record-tuple-polyfill icon indicating copy to clipboard operation
record-tuple-polyfill copied to clipboard

Enumerate spec violations

Open littledan opened this issue 5 years ago • 2 comments

I think it would be useful to enumerate spec violations and see which ones we can and can't fix over time.

littledan avatar Jul 15 '20 22:07 littledan

@nicolo-ribaudo we should do a session where we go through the spec and do that

rricard avatar Jul 16 '20 08:07 rricard

I believe the current polyfill implementation interns the first 0 value and later uses that when it encounters another +0 or -0.

const nz = #[-0];
log(Object.is(#[+0][0], +0)); // false, should be true

mhofman avatar Aug 12 '21 12:08 mhofman