Last active
December 30, 2015 13:07
-
-
Save qetr1ck-op/b9fc7a18ff660c08ea27 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const removeCounter = (list, i) => { | |
| /*return list.slice(0, i) | |
| .concat(list.slice(i + 1))*/ | |
| return [ | |
| ...list.slice(0, i), | |
| ...list.slice(i + 1) | |
| ]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment