Sign in
chromium
/
external
/
w3c
/
web-platform-tests.git
/
HEAD
/
.
/
webidl
/
ecmascript-binding
/
legacy-factory-function-builtin-properties.window.js
blob: fc5c48aca380c0d6f44bc1331560c015e4cd3343 [
file
] [
log
] [
blame
]
"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"'
);