how to return an empty array in javascript code example
Example: javascript empty array
var colors = ["red","blue","green"];
colors = []; //empty the array
var colors = ["red","blue","green"];
colors = []; //empty the array