What happens when do this in #JavaScript?
const arr = [1, 2, 3, 4, 5]
arr.reverse()
...now imagine a huge code base.
-
-
Quick analysis shows we're clear of the most obvious hazards: let x = reverse!(a); is not already: let x = reverse; !(a);
-
Interesting. I’m trying to think of issues with ? now. Ternary operator and maybe the new Null Propagation Operator?
-
I want to try implementing this in Babel just for fun/learning. See how far I get before it all falls apart. Thanks for the discussion!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.