Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


Clear an array in javascript
To clear an array named 'arr' in javascript, use either of these:

arr.length = 0
arr.splice(0,arr.length)

Created By: amos 1/6/2016 5:09:45 PM