-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Perf + ES6] no longer clone array before enumeration (dramatically reduce allocations) * [Perf] Don’t rebind the callback of forEach if not needed * [Perf + ES6] no longer allow Map#length to be bindable * [Perf] don’t double guid keys, as they are passed from map to ordered set (add/remove) * [ES6] deprecate Map#remove in-favor of the es6 Map#delete * [ES6] error if callback is not a function * [ES6] Map#set should return the map. This enables chaining map.`map.set(‘foo’,1).set(‘bar’,3);` etc * [ES6] remove length in-favor of size. * [ES6] throw if constructor is invoked without new * [ES6] Make inheritance work correctly
- Loading branch information
1 parent
5ddaa3e
commit ccc53a3
Showing
2 changed files
with
321 additions
and
61 deletions.
There are no files selected for viewing
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
Oops, something went wrong.