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

Function makeArray

ServerEditorWeb/ace/worker-lua.js:2919–2923  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

2917if ([1,2].splice(0).length != 2) {
2918 if(function() { // test IE < 9 to splice bug - see issue #138
2919 function makeArray(l) {
2920 var a = new Array(l+2);
2921 a[0] = a[1] = 0;
2922 return a;
2923 }
2924 var array = [], lengthBefore;
2925
2926 array.splice.apply(array, makeArray(20));

Callers 1

worker-lua.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected