Last active
May 18, 2020 19:02
-
-
Save eddieantonio/67543aa00ae3ac493a3896d7dae84957 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.defineProperty(Set.prototype, 'addAll', { | |
enumerable: false, | |
configurable: false, | |
value: function (iterable) { | |
for (let item of iterable) { | |
this.add(item); | |
} | |
return this; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👏