Open Naddiseo opened 9 years ago
Currently the implementation of the iterator protocol doesn't accept an Arguments object.
Testcase:
function test() { console.log(...arguments); } test(1, 2, 3); // => should print "1 2 3"
This PR is one solution to the problem. I would have updated the tests, but there are too many to do by hand.
Currently the implementation of the iterator protocol doesn't accept an Arguments object.
Testcase:
This PR is one solution to the problem. I would have updated the tests, but there are too many to do by hand.