]> git.wincent.com - hextrapolate.git/commitdiff
Don't mutate input array in joinDigits()
authorGreg Hurrell <greg@hurrell.net>
Sat, 1 Aug 2015 01:54:37 +0000 (18:54 -0700)
committerGreg Hurrell <greg@hurrell.net>
Sat, 1 Aug 2015 01:54:37 +0000 (18:54 -0700)
`reverse()` is a nasty API. It returns the reversed array, but also
mutates it in place. Noticed while using `joinDigits()` to log stuff
while developing.


No differences found