You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taking the code directly from the examples gives me some very weird results. The issue (in this case) is because the library isn't overriding built-ins.
@bugs181 it seems the documentation is not correct, looking at the code I see this module adds attribute CollectionsSet to built-in Set if this is defined, else it define CollectionsSet as Set globally, so it should be...:
This was a tricky bug to track down.
Taking the code directly from the examples gives me some very weird results. The issue (in this case) is because the library isn't overriding built-ins.
Let me elaborate.
In fact, removing the first line gives the exact same output. This leads me to believe that
Set
is using the built-in operator.My setup is as follows:
OS:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.10.1
BuildVersion: 14B25
Install:
$ npm install --save collections
Node version:
$ node -v
v5.10.0
npm version:
$ npm -v
3.8.3
The text was updated successfully, but these errors were encountered: