6 lines
250 B
JavaScript
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"');
|