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
Immutable(["foo","bar"]).flatMap(function(val,index){return"index is "+index+" aaaand its type is "+(typeofindex);});// [ 'index is 0 aaaand its type is string', 'index is 1 aaaand its type is string' ]
The offending line of code: https://github.com/rtfeldman/seamless-immutable/blob/master/src/seamless-immutable.js#L124
Evidence suggests that second argument needs to be
parseInt(key)
which is absolutely gobsmacking.The text was updated successfully, but these errors were encountered: