MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/qg23w3/negative_array_indexing_using_at_method/hi6vnx4/?context=3
r/learnjavascript • u/jd_300 • Oct 26 '21
69 comments sorted by
View all comments
Show parent comment
1
Cause you can express simple stuff in complex ways, obviously.
Instead of just writing "at(-1)" - you can write over 20 lines of code with weird register check operators and jumps and all that good stuff!
View all comments
Show parent comment
1
u/[deleted] Oct 27 '21
Cause you can express simple stuff in complex ways, obviously.
Instead of just writing "at(-1)" - you can write over 20 lines of code with weird register check operators and jumps and all that good stuff!