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
These twin functions were inconsistent with each other. n2p used a positive test for primitives, p2n used a more dangerous negative test. n2p didn't have cycle-detection, but p2n did. p2n had '__proto__' protection on objects but not arrays. Both were vulnerable to hanging on sparse arrays with enormous lengths.
Removed arrayNativeToPseudo, use nativeToPseudo instead.
Removed all but one use of the non-recursive arrayPseudoToNative (function bind needs it for arguments). Made this function private.
0 commit comments