Skip to content

Instantly share code, notes, and snippets.

@IKatsuba
Created April 9, 2021 09:12
Show Gist options
  • Save IKatsuba/94a4f3c098fc7586df9cbe3a814627d2 to your computer and use it in GitHub Desktop.
Save IKatsuba/94a4f3c098fc7586df9cbe3a814627d2 to your computer and use it in GitHub Desktop.
const items = [1, 2, 3, 4];
//before
items.splice(index, 1);
//after
items.deleteAt(index);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment