MCPcopy Create free account
hub / github.com/nodejs/node / TestForIn2

Function TestForIn2

deps/v8/test/mjsunit/es6/proxies-for.js:41–46  ·  view source on GitHub ↗
(create, properties, handler)

Source from the content-addressed store, hash-verified

39}
40
41function TestForIn2(create, properties, handler) {
42 var p = create(handler)
43 var found = []
44 for (var x in p) found.push(x)
45 assertArrayEquals(properties, found)
46}
47
48TestForIn(["0", "a"], {
49 ownKeys() { return ["0", "a"] },

Callers

nothing calls this directly

Calls 3

assertArrayEqualsFunction · 0.85
createFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected