Skip to content

Instantly share code, notes, and snippets.

@LSStaff
Last active March 6, 2022 21:04
Show Gist options
  • Save LSStaff/5b072020a6c66a536909512810019c30 to your computer and use it in GitHub Desktop.
Save LSStaff/5b072020a6c66a536909512810019c30 to your computer and use it in GitHub Desktop.
var arr = [1, 2, 3, 4, 5];
delete arr[0];
console.log(arr.length);
@Johannessachsse
Copy link

4 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment