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

Function prepare

deps/v8/test/webkit/array-iterate-backwards.js:30–36  ·  view source on GitHub ↗
(nbytes)

Source from the content-addressed store, hash-verified

28var bytes = new Array();
29
30function prepare(nbytes) {
31 var i = nbytes - 1;
32 while (i >= 0) {
33 bytes[i] = new Number(i);
34 i -= 1;
35 }
36}
37
38function verify(nbytes) {
39 var i = nbytes - 1;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected