ary.length = 5; | |
console.log(Array.from(ary.keys())) // [0, 1, 2, 3, 4] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ary.length = 5; | |
console.log(Array.from(ary.keys())) // [0, 1, 2, 3, 4] |