Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fuzzy2
· 8y ago · 0 comments
I wonder if `splice`, `shift`, `unshift` and other methods that modify arrays in-place are also affected.
Comments
[–]
dartf
8y ago
I've played with it a bit and no it doesn't. Also any modification to the original array before calling `reverse` makes bug disappear
[–]
fuzzy2
OP
8y ago
Good to know, thanks for testing!