function a(){ var colors = ["red","blue","green"]; colors[colors.length] = "black"; colors[colors.length] = "brown"; alert(colors.length); }