MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / makeArray

Function makeArray

ServerEditorWeb/ace/worker-php.js:6308–6312  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

6306if ([1,2].splice(0).length != 2) {
6307 if(function() { // test IE < 9 to splice bug - see issue #138
6308 function makeArray(l) {
6309 var a = new Array(l+2);
6310 a[0] = a[1] = 0;
6311 return a;
6312 }
6313 var array = [], lengthBefore;
6314
6315 array.splice.apply(array, makeArray(20));

Callers 1

worker-php.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected