Skip to content

Instantly share code, notes, and snippets.

@tkheyfets tkheyfets/es6_remove.js
Last active Apr 15, 2016

Embed
What would you like to do?
const remove = (index, array) =>
[...array.slice(0, index),
...array.slice(index + 1, array.length)];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.