MCPcopy Index your code
hub / github.com/nodejs/node / check

Function check

deps/v8/test/mjsunit/es6/array-of.js:12–17  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

10// Array.of makes real arrays.
11
12function check(a) {
13 assertEquals(Object.getPrototypeOf(a), Array.prototype);
14 assertEquals(Array.isArray(a), true);
15 a[9] = 9;
16 assertEquals(a.length, 10);
17}
18
19
20check(Array.of());

Callers 2

array-of.jsFile · 0.70

Calls 1

assertEqualsFunction · 0.50

Tested by

no test coverage detected