chromium/third_party/blink/web_tests/fast/js/regress/script-tests/splice-to-remove.js

for (var i = 0; i < 100; ++i) {
    var array = [];
    for (var j = 0; j < 1000; ++j)
        array.push(j);
    while (array.length)
        array.splice(array.length / 2, 1);
}