Last active
October 9, 2018 22:12
-
-
Save kutyel/4f3ee7a9a82b280b35b0f06e80c0b318 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
case “REMOVE_LIST_ELEMENT”: | |
return [...xs.slice(0, xs.indexOf(index)), ...xs.slice(xs.indexOf(index + 1))]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment