chromium/third_party/blink/web_tests/fast/js/regress/script-tests/new-array-push.js

function foo() {
    return new Array();
}

var arrays = [];

for (var i = 0; i < 100000; ++i)
    arrays.push(foo());

for (var i = 0; i < 100000; ++i) {
    if (arrays[i].length != 0)
        throw "Error";
}