1
0
Fork 0
firefox/testing/web-platform/tests/webidl/ecmascript-binding/legacy-factory-function-builtin-properties.window.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

6 lines
250 B
JavaScript

"use strict";
test(() => {
const ownPropKeys = Reflect.ownKeys(Image).slice(0, 3);
assert_array_equals(ownPropKeys, ["length", "name", "prototype"]);
}, 'Legacy factory function property enumeration order of "length", "name", and "prototype"');