summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_1/regress/regress-530879.js
blob: 39931d1c382bb1e0cb81ca6a29a9d88840c8e5ef (plain)
1
2
3
4
5
6
7
8
9
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 * Contributor: Jason Orendorff
 */
function f(a, b, c, d) {
    yield arguments.length;
}
reportCompare(0, f().next(), "bug 530879");