MCPcopy Create free account
hub / github.com/dop251/goja / TestFunctionApplyNullArgArray

Function TestFunctionApplyNullArgArray

builtin_function_test.go:16–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14}
15
16func TestFunctionApplyNullArgArray(t *testing.T) {
17 const SCRIPT = `
18 assert.sameValue(0, (function() {return arguments.length}).apply(undefined, null))
19 `
20 testScriptWithTestLib(SCRIPT, _undefined, t)
21}

Callers

nothing calls this directly

Calls 1

testScriptWithTestLibFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…