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

Function TestToNumber

deps/v8/test/mjsunit/harmony/private.js:114–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113
114function TestToNumber() {
115 for (var i in symbols) {
116 assertThrows(function() { Number(symbols[i]); }, TypeError);
117 assertThrows(function() { symbols[i] + 0; }, TypeError);
118 }
119}
120TestToNumber()
121
122

Callers 1

private.jsFile · 0.70

Calls 1

assertThrowsFunction · 0.50

Tested by

no test coverage detected