properties of javascript arrays