clear
clear() -> Array
Clears the array (makes it empty).
Example
var guys = ['Sam', 'Justin', 'Andrew', 'Dan'];
guys.clear();
// -> []
guys
// -> []
clear() -> Array
Clears the array (makes it empty).
var guys = ['Sam', 'Justin', 'Andrew', 'Dan'];
guys.clear();
// -> []
guys
// -> []