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

Function test_eval

deps/v8/test/mjsunit/whitespaces.js:85–89  ·  view source on GitHub ↗
(c, content)

Source from the content-addressed store, hash-verified

83}
84
85function test_eval(c, content) {
86 if (!is_whitespace(c)) return;
87 var str = c + c + "'" + content + "'" + c + c;
88 assertEquals(content, eval(str));
89}
90
91function test_stringtonumber(c, postfix) {
92 // Skip if prefix is a digit.

Callers 1

testCodePointRangeFunction · 0.85

Calls 3

is_whitespaceFunction · 0.85
evalFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected