| 95 | /** @param {import('tap').Test} assert */ |
| 96 | (assert) => { |
| 97 | class FloatSubclass extends Float32Array {} |
| 98 | const foreign = runInNewContext('new Float64Array([1, Infinity])') |
| 99 | const subclass = new FloatSubclass([1, -Infinity]) |
| 100 | const disguised = new Float32Array([1, NaN]) |
nothing calls this directly
no outgoing calls
no test coverage detected