MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / makeArray

Function makeArray

static/js/ace.js:322–326  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

320if ([1,2].splice(0).length != 2) {
321 if(function() { // test IE < 9 to splice bug - see issue #138
322 function makeArray(l) {
323 var a = new Array(l+2);
324 a[0] = a[1] = 0;
325 return a;
326 }
327 var array = [], lengthBefore;
328
329 array.splice.apply(array, makeArray(20));

Callers 1

ace.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected