Skip to content

Instantly share code, notes, and snippets.

@IKatsuba
Created April 9, 2021 09:10
Show Gist options
  • Save IKatsuba/7dcdce6cf6b898907e554c8f449836c3 to your computer and use it in GitHub Desktop.
Save IKatsuba/7dcdce6cf6b898907e554c8f449836c3 to your computer and use it in GitHub Desktop.
const items = [1, 2, 3, 4];
items.clear();
console.log(items);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment