Answers for "how to emty an array in javascript"

5

how to emty an array in javascript

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

how to emty an array in javascript

if it's you created it with constant 
>> arr.splice(0, arr.length);

if you created it with let 
>> A =[];
Posted by: Guest on May-06-2022

Code answers related to "how to emty an array in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language