add and array into a new variable javascript code example Example: js array add element array.push(element)