Comment by sjrd
2 days ago
The spec mandates normalization of NaNs in ArrayBuffers. If other engines do not normalize, I believe it's a bug in those engines!
2 days ago
The spec mandates normalization of NaNs in ArrayBuffers. If other engines do not normalize, I believe it's a bug in those engines!
Chromium & Node (i.e. V8) do seem to just not normalize:
Running the following snippets:
I get on Chrome:
And on Firefox:
It looks like both implementations are buggy, Since both the DataView and buffer versions should be normalized.
https://bugzilla.mozilla.org/show_bug.cgi?id=1393085