Skip to content

Instantly share code, notes, and snippets.

@LSStaff
Last active August 28, 2018 15:20
Show Gist options
  • Save LSStaff/be9e4922a86810505758f9b04c957976 to your computer and use it in GitHub Desktop.
Save LSStaff/be9e4922a86810505758f9b04c957976 to your computer and use it in GitHub Desktop.
var arr = [1, 2, 3, 4, 5];
arr.splice(0, 1);
console.log(arr.length);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment