js/src/jit-test/tests/for-of/arrays-slow-4.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:6e7b99522659
1 // for-of on an empty slow array does nothing.
2
3 var a = [];
4 a.slow = true;
5 for (var x of a)
6 fail();

mercurial