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