mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Replace each with forEach
This commit is contained in:
committed by
Ben Newman
parent
c18ff138c9
commit
2f10c82a50
@@ -439,7 +439,7 @@ class ArgumentChecker {
|
||||
// or check([foo, bar], [String]) to count... but only if value wasn't
|
||||
// itself an argument.
|
||||
if (Array.isArray(value) || isArguments(value)) {
|
||||
_.each(value, self._checkingOneValue.bind(self));
|
||||
Array.prototype.forEach.call(value, self._checkingOneValue.bind(self));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user