Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate input to Calendar.prototype.fields
As discussed in #1610, we restrict values returned by the iterator to be no more than the ten known values, prohibiting duplicates. The check for String values has been removed as all of those values are Strings, so the value restriction is plenty. This does not address the question of return value validation.
- Loading branch information