Default Parameters + Destructuring - Pending items #1641
Labels
bug
Issues considered a bug
Ecma Incompatibility
Issues about Rhino being incompatible with the EcmaScript spec
Milestone
Address items pending from #1640
This should throw a TypeError as
[Symbol.iterator]
is not implemented for that object on the rhs, instead uses defaults to return3
.And this should work because we call into iterator to get the default values. Instead we throw a NPE currently.
The text was updated successfully, but these errors were encountered: