Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
lkschubert8
6y ago
0 comments
Share
For me the worst is slice/splice.
0 comments
default
newest
oldest
Accacin
6y ago
Kind of stupid, but I imagine the 'p' in 'splice' being an axe that chops the array :D Works for me...
nkozyra
6y ago
I think OP was saying slice returns a mutated copy while splice mutates in place.
j
/
k
navigate · click thread line to collapse