how to declare array variable in javascript code example Example: javascript declare array var array = []