summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/for-of/arrays-slow-4.js
blob: d2bceef8762d59f46dff5fc32e34304b4a073dcc (plain)
1
2
3
4
5
6
// for-of on an empty slow array does nothing.

var a = [];
a.slow = true;
for (var x of a)
    fail();