Answers for "js delete all array items"

1

js delete all array items

A.splice(0,A.length)
Posted by: Guest on May-30-2020
3

js delete all array items

A = [];
Posted by: Guest on May-30-2020
0

js delete all array items

A.length = 0
Posted by: Guest on May-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language