javascript append list

Solutions on MaxInterview for javascript append list by the best coders in the world

showing results for - "javascript append list"
Leonardo
05 Mar 2017
1var colors= ["red","blue"];
2	colors.push("yellow"); 
Mariana
13 Mar 2017
1var fruits = ["Banana", "Orange", "Apple", "Mango"];
2fruits.push("Kiwi");
Alonso
22 Feb 2018
1list=["elements"]#add elements by seperating with comma
Santino
01 Jan 2018
1print(list)
queries leading to this page
add something in array javascriptadd value to list in javascriptmethod to add to an array javascriptjavascript push to empty arrayjavascript add array elements to arrayarray append 28 29 jsadd item list javascripthow to add a new element to an array in javascriptjaavscript append arrayadd item to array nodejsadd item to arrayadd item to array jsadd data in array javascripthow to append array of elements in domjavascript add list itemadding to js listhow to append to javascript arrayhow to add list inside the html with javascriptadd value in an array javascript jspush object in array of objectshow to add elements in arrayappend list javascriptjs push 28 29js push items into arrayarrays javascript addappendchild for each item in array javascriptappedn value in javascipt arrayarray append in jsadd item to list javascriuptadd string to an array javascriptmake and add to a list javascriptnodejs array appendjavascript add element in arrayjs array add an itemhow to add values to array un javascriptadding string to array javascripthow to add element to array in javascriptjs add element to arraypush in array jsappend list in javascriptadd new content arrayjavascriptjavascript add element to a listappend data in aaryhow to append a value to an array in javascriptlist append jshow to push element to array jshow to append something to an array javascripthow to implement array append in javascriptjavascript add element to arrayhow to add values in a list in javascriptjavascript add item to list htmlhow to add data to list in javascriptadding an element to an array javascript from a functionjavascript dom add list itemhow to append a list of items in javascript push javascriptadd element to list in javascriptarrays append javascripthow append to array in jshow to push new object in javascript arrayjavascript list appnedappend item to end of existing array javascriptnode js append to arrayadd list of elements to list jsappend data in array in javascripthow to add values in array javascriptjavascript append arayjs some 28 29 pushing to arrayadd a variable to an array javascriptappend array javascriptadding to javascript arrayhow to push items based on string in array in jshow to add an element to an arrayjavascript append to all array valuesadd a value to array javascriptpush an array into a new array javascriptjs add objects to arrayjavascript push array to arrayadd a list to a list javascripthow to append a list in list in jshow to append items in array javascriptarray add method javascriptarray append javascriptjavscript array appendadd entry to array javascripthow to append a javascript arraypush object to array javascriptappend item from list javascriptjs adding elements in array add element in array jshow to add list in jshow to append onto an array javascriptappend to a list jsjs how to append to each item in arrayhow to add element into array in jsadd item in array in java script 3f 21javascript list addadd things to arrays javascriptadd array items javascriptappend to javascript arrayappend data in javascript arrayhow to push to array jsadd elements in array hwow tp append array of text in oneadding elements to list in jspush elements to arrayadd values to each element in array javascripthow to push objects into array javascriptjava script adding elements to arrayadd an element in list javascripthow to add an array element in javascripthow to push array element into new array in java scriptadd to a list in javascripthow to append to a list in jsarray push javascriptadd element in array javascriptadd element to list javascripthow to append to array javascriptappend item at the end of an array immutableadd element array javascriptappend to array javascript from function to functionadding elements of array in javascripthow to append in javascriptadding things to an array javascripttypescript append to listhow to add to an element of a javascript matrixappending list in javascripthow to add value in array javascriptappend a member to array javascriptappend to array javascriptappend to a list javascripthow to append stuff into an array javascriptappend new data in array javascriptjavascript add string in arrayhow to add new item in list jsjavascript append arrayappend to an array javascriptappend value to array jsjavascript 2c how to push to an array in another arrayadditem to an arrayjsjavascript add to lsitnodejs append to arrayhow to insert an element in an array in jspush property in array jshow to insert list into array in javascriptappend into array javascriptadd items to arrays in jsadd javascript arrayappend to a list in javascriptlet string array append typescriptjavascript array push id valueadd new element in array javascriptpush into array javascriptappend item to array javascriptjavascript appened element to arrayadd elements to an array in javascripthow to add an elemnt ot an arrayjavascript add to listjavascript put value in arrayhow to add elemennt in array in jsappend js listadd to list in javascriptadd item to array javascriptadd element to javascript arrayappend array in a javascriptadd an array to an array javascripthow to add string to array jsappend list in jshow to add a item in list in javascriptjavascript append to end of arrayadd to last on array jsjavascript to append to listadding elements to an arraynodejs push to arrayappend in list jshow to append data in array in javascriptjavascript add list to listpush method javascriptjavascript array is adding one too manyhow to add an item to an array javascriptadd in array jsadd element in list in jsarray add jsadd the array items in jshow to add item to array javascriptadd values to array javascripthow to append to a list in javasctriptjs append to arrayjavascript add to a listappend items to an arrayhow to append data in array in jsadd element to js arrayjavascript array add element in the fromtadd values to array jshow to push to an array 5d in javascriptpush item in list array javascriptjs add new element to arraypush records in existing array javascriptadd array in javashow to add an element to an array in jsjavascript add elements to arrayadd element to list in jsadding arrays jshow to add list in javascriptadd values in list javascripthow to add item to end of array jsadd arrayappend in array jsadd an element to an arrayhow to append item to list jshow to add element in a list in javascriptpush to array object javascripthow to add an element in list in jsadd element from array javascriptpush data in array object javascriptjs dom to add listarray append in javascriptadd data to array javascriptappend object to list javascriptadd element to array 22jscript 22how to append element in list in jsjs add element with function to arrayadd an element to an arrya javascriptjavascript append to listadd to end of array javascriptadd lists in javascripthow to push object into array in javascripthow to add an item to an array jsjavascript array add elementadd item to end of array javascriptadding element to array javascriptlist append javascriptappend element in array jsanglar append all lemnts of array to arrayjavascript push object into arrayadd value array jsjavascript append in arrayjs append array of elements how to append a value to list in javascripthow to append elements in array in javascripthow to add array elements in javacripthow to add data to a javascript string arrayappend to list in javascriptappend to array es6push object to empty array javascriptarray addhow to add element at end of array jshow to add element in array in javascriptadd data into list items using javascriptjavas script add listhow to append to an array javscriptadd to list javascrip 5btappend results from array javascriptappend an element in array in jsadd to javascript listhow to push empty array in javascripthow to add in a list javascriptappend array html javascriptappend to array element jshow to append an element in a list javascripthow to push value to array in javascripthow to append to a list in javascriptappend element in array in jsjavasctipt array appendappend in array in jsadd list javascriptjavascript add items to do listjavascript array add itemslist add javascriptjavascript add from array to new arrayhow to add elements into js arrayjavascript how to add to an arrayadd an element to a list javascriptlist append javascripthow push into an arrey javascriptsarray push jsadd to array jsin array appendappend to array in javascriptjavascript list appendjavascript add array as element to arrayjs add item to listhow to make and add to an array in javascripthow add element to array javascriptadd string to existing array javascriptappend an array in javascript from one function to functionhow to add items to an arrayjs push to arrayes6 add item to arrayfor eache push javascriptadd element in array in javascript how to append an element to a list in javascriptfor each push to empty arrayadd new list item jsadd items to array javascriptpush an object into an array javascriptjavascript append aray to elementadd array of items in arrayhowt to add to an array jsnadd element to list jsadd an element to an array javascriptjs append item to arrayappend to list javasjavascript add elements to listappend element to list javascriptarray add javascriptjavascript append item to listnodejs add element to arrayjavascript append element to an arrayhow do i append to an array in javascript 3fjs append element to arrayhow to add a variable to an array in javascriptappend arrays to array jsadd var to array javascriptcreate a new object and push it into an arrayappendchild to array jsjavascript appending to arrayhow to add data to array in javascriptappend array to array javascriptadd to array javascripthow to append 28to list js 29appending element in list to domjs append array to arradd list to list jsjavascript append element to arratappend to arrayinsert item into list javascriptadd new element in array javascript 5b 2c 5dhow to append array javascripthow to add new in js listappend list jsjavascrip array appendjs push string into arrayappend to list javascroptjavascript additem to arrayjavascript adding array to arrayhow to add elements to a javascript arrayadd value to array jsadding arrays javasc riptways to add value to element inarrayhow to add something to an array in javascipthow to add data in a list in javascriptjs append to array how to add items in a list in jspush to the end of array javascripthow to add something to an arrayadd to the end array javascriptappend to an array in javascriptappend in js arrayadding an item to an array javascripthwo to add in js listappend typescripthow to add an element to an array in javascriptappend array of node in domadd more value to arrayadd element to end of arrayjavascript array appendjavascript applend listadd to array together javascriptadd value to arrayadd element in a list javascriptlist append jshow to add an array value in jsjavascript how to add a new element to an arrayhow to add elements to an array in javascriptadd an element in array javascriptadd value to array javadd elements to an array in jshow to append toa list in jslist in js and apped elementsjavascript append array of elementshow to append a list in javascripthoe to append to js arrayappend data to array typescriptadd array to arrayhow to push elements in array in javascriptadd array elements in javascriptadd value to array javascriptadd a value to an array javascriptjavascript array push to indexjs add element to array new arraylist add element array javascriptpush javascript stringadd to list javascripthow to append ellement to arrayarray add element jshow to add a value to a array in jsjs append element in arraypush in array 5b 2c 5darray push with key javascriptappend array javascript how to add item in list in javascriptlist javascript appendappend value to javascript arrayappend element to array in javascripthow to insert list in list javascriptadd variable array javascriptappend array javascript to domhow to push item out of array in javascriptjs array append arrayadd array jsadd item in list in javascriptadd number to array javascriptadd a value to an array in javascriptadd to array in javascriptappend something to a list javascriptjavascript list appendhow to add elements of an array 3fjs array add like elementshow to append to the array in jshow to add a list in the list javascriptjs add value to a listjavascript add element to an arraypush one array into another javascripthow to create add values to a list in jspush value to array javascripthow to append a list in tshow to push each item of an array into another array javascripthow to add elements into an array in javascriptadding to list javascript using how to append list jspush new element to array javacriptadd data in javascript arrayjavascript append elemamt to arryhow to append to array in javascriptinsert to javascript listappend and make new array javascriptadd strings to an array javascriptlist add in javascriptadd elements in to an array jsjavascript append value to arrayjs array pushadd elements in array javascriptjavascript add array to arrayappend element in js arrayappend a list to a list javascriptput something in arrayjs how to add item to listappend a char in a list javascriptappend items in arr jsappend an item to array javascriptadd list to jsappend for array javascriptadd element javascript listhow to append something to a list in javascriptjavascript add to an arrayadd something to array jsjavascript thi array appendhow to add array list in javascriptadd value to array in array javascriptjs insert item into arrayarray appendhow to push to array javascripthow to add element to an array using domhow to create list and append javascriptarray push method javascriptappending data from array to elementadding to array in javascriptappend things to list jsappned to list javascripthow to add elements to a list in javascriptadd values in array javascriptappend to arrray javascriptappend to end of array javascriptadd to javascript arrayappend to list javascriptarray add a new elementappend to array jshow to add to an array in javascripthow to add to an array javascriptjavascript add element to end of arrayadd to js listadd object to array javascriptpush a new element to an array jsstring array javascript addhow to add item in the array javascriptjs add arrayhow to add element in array javascriptjs add an element to an arraypush array into array javascripthow to push array into array javascriptappend in array javascriptpush object into array javascripthow to add element to array jsadding array elements in javascripthow to add to arrays jshow to add data to a array in jsappend array in jsjs add array to arrayadd value array javascript add elements to array javascriptadd one element to array javascripthow to add variable value to array in jqueryjavascript add element to arratadd to array in jsappend item to list in jsjavascript adding an element to an arrayjs arr appendpush items to array javascriptappend data in array javascriptarray append method jshow to add array in javascriptarrays javascript add elementappend list to list javascriptjs add element to listhow to add items to array jsjavascript append element of arrayarray append javascriptadd list in js push 28 29how to add array jsadd list item code in javascriptappend array to an array javascriptadd values to javascript arrayjavascript string pushhow to add a value to a list in javascripthow to append in an array in javascriptappend in arrayadd the items in array together javascriptuse variable with push command in javascriptpush back arraypush element in a new array javascriptadd item to an array in javascriptappend array of html elements javascripthow to append data to a list in javascripthow to add array of items to array in es6how to append an arrayadding items in array javascriptadd an element to array jsappend to new arrayapend item to arrayhow to add new value to array in javascripthow to add into a list in javascriptadd information to a list in using javascriptpush method in javascriptarr push i n jsjs add value to arrayadding item in array javascripthow to append array in javascriptjavascript add item to array javascriptadd element to array jsnode add element to arrayhowt o append to javascript listadd list to list javascriptadd a row to exisitng array javascriptadd element in array from back in jshow to add new item to array javascripthow to insert data in array of string in jsjavascript append elemento to arrayhow to add elements in array in javascriptadding a string to an array javascriptarray append 5cjs list addhow to add a value to an array javascriptjavascript apped arrayhow to append to an array javascriptjs push new array into arrayhow to add n item to array in jkavascriptadd a new element to an array javascriptappend array value in javascriptadd elements to array jsappend element in javascript arrayjs array appendhow to add to arry in jspush element to array jshow to push a list to html from javascriptarr push in jsappend to array javacsriptjavascript add in arrayjs array append arrayjs array element comparejavascript add data to array arrayadd ul using javascriptjs array append elementhow to append list in jsjs push list into listadding to an arrayadd list in javascriptappend array javascript to elementadd list jsadd item to list in javascripthow to push values to an existing array of objects in javascriptlist append in javascripthow to append a list item jsadd list array javascadding things into an array javascriptadd array on javascriptadd data to list in javascriptadd js arraypush a string into an array jshow to add elemets to an arrayappend to array in jsjavascript adding element from arrayadd to array js and return tablejs push to array of arrayshow to add to list tag in javascriptjavascript append array to end of arrayjs push something into an arrayadd somthing to list in javascriptappend to an array jsappend something to a list jsjsvascrit append arrayadd element in js arrayhow to add variables to list in jsappend element in array javascriptjs array appendpush new object to array javascriptarray add arrayjavascript add to arrayjavascript add array elementsarray js addpush a value to an array in javascriptadding to a list javascriptadd list to javascripthow to insert element in list in jsjavascript 2b append array list js add elemehow to append values to array in javascripthow to append to an array in jsadding arraysjs append array into arraypush a array in a functionappend to js arrayjavascript how to add element in arrayhow to append an element to an array javascriptjavascript append ellemente to arrayjavascript append to arrayhow to append an item to an array in javascripthow to add a string to an array using a function javascriptinsert to js list add to an arrayhow to add elements in a list in javascriptadd item to list javascirptjs append array to arrayjavascript push to arrayfastest way to add item to array javascripthow to add a record to an array javascriptjavascript add element in listjavasctipt add elements from an arrayadding to a list in jsarray append jshtml add list item javascriptjs append to listmake a list and append it in jscreate and push object in javascript arrayappend element to array javascriptnodejs append arrayjs append arrayshow to push an element into an array in javascriptjavascript add item to listhow to add in js listappend to a array in javascripthow to add a element in array in javascriptpush element in array javascriptpush arrayadd element in javascript arrayways of adding elements to an array jsadd an item to an array javascriptadd an item to a list javascripthoww to add to array jsarray add element in array in jshow to append values in array in javascriptjavascript appned element to arrayadding items in an arrayadd in list jshow to add values in an array javascriptadd to arrayhow to add items to list in javasciptadd an element to the back of an array in javascriptjavascript append item into listhow to add item to arrayadd item to array in function javascriptjs append to item in arrayarray add element in javascriptadd values to list in javascript add to list in javascriptarray add javascripthow to push value in arraylist append javascriptpush array into object javascripthow to add info to an array node jshow to add an element in array javascriptadd to list jsjavascript array element appendadd elements to arrayadd string to array javascripthow to push number in array in javascriptadd element in list javascriptadd item to js listjavascript append element to list of elementsjavacsript arrays pushappend arrray jscreate list and add items into it in jsjavascript add element eo arrayappend an element to an arrayjavascript add element listadd element to arrayappend items in list in jsjs array add elementhow to add to a list in javascripthow to append items to a list jshow to add items to arrayappend to a part of an array javascriptadd to end of js arraypush 28 29 javascripthow to append in array in jsadding element into list jshow to append an array of html element in javascriptpush in to array javascriptlista javascript addjavascript append element arrayadd an element to the end of the array jsappend javascript arrayarray js appendjs add list to a listappend array with array javascripthow to append lists javascript append a list in javascripthow to append elemnt to array javascritarr append jsjavascript add item to a listjs add to arrayhow to add an item to an array javascript and return the array add list elements javascriptpush new object into array javascriptadding item to end of array javascriptappend array in javascriptadd item in list javascriptobject javascript add arrayhow to add to a array in javascripthow to add elements in an array javascripthow to push items to sub arraysjavascript append listarray element add javascriptul list append in javascriptjavascript append item to arrayappend a new item in a list javascriptadd value to array nodejsarray javascript addjs add listhow to append to append to array in javascripthow to append something to the end of an array javascriptadding element in list in jsjs append arrayhow to add to list in jsadd value to javascript arrayappend a value in array in jsappend to list in jshow to add values to array in javascriptadd number to array jshow to add data in list using javascripthow to append items to an array in javascriptadd to a list in jsadd an element to the list of array javascriptarray push vs append javascriptjs add list to listadd an element to an array jsadd to a list in a list in a list javascriptvalue push in array jshow to append into array in jsjavascript pusjs pusharray add element javascriptadd element of array javascriptjavascript add an element to an arrayadd value to string array javascriptadd a value to an array jshow to add a new item to the list in javascript append all value from arrayhow to add to a javascript arrayhwo to push element in list in jsappend array of html to element javascriptappend to array elementadd array to array javascriptjavascript add new item to an arraypush to array jsappend to array js add something to an array javascriptjavascript add value into arrayadd elemnt to array javascriptpush items in list in java scriptjavsascript append array of items to elementhow to add element to array javascriptadd value to list javascriptadd to list function value jshow to add items to array in javascriptpush in jshow to append element to array javascriptpushing a number into an array jshow to append var to array javascriptadd to an array javascriptpush into an array javascriptjavascript push array elements into arrayadd item end array jsadd to a list jsjs add items to a listhow to add string to an array in javascriptappend arrays jshow to add list in html using javascriptpush an array into an array javascriptjs append to a arrayhow to add value to array in javascriptadd new array in function javascriptpush string jspush array to array javascripthow to append in array jsappendto array javascripthow to add data to an array in jsappend li to a list javascriptjavascript add strings to arraypush or create jscreate array and add elements in javascriptaddibg items into a list javascriptjavascript append array to arrayhow to add elements to an array and return it javascripthow to add to string arrayjavascriptjavascript how to add variable to the end of arrayjs list appendjavascript to add value to arrayappend element node array in javascriptadd number to an array javascriptarray push jsappend value to array javascriptappend elements in list jshow to push array object in by using function javascriptappend list js 27add to an arrayhow to append to array in js how to push item to list jsnode js add element to arrayappend an item in an array javascriptadd item list jsjavascript append ellemngt arrayhow to add a variable to an array javascripthow to add an element to an array javascriptappend array in array javascriptappend to an array in jsadd elements to list jsjavascript empty array and pusharray append javascripthow to append value in array in javascripthow to add an item to an array in javascriptpush a list into an arrayhow to add array elements in javascripthow to append a list of element to an element javascriptpush a string as array into an array jsappending to array javascripthow to add elements in array javascriptadd element to array javascripthow to add to a list javascripthow to insert something to a list in javascirptadd a variable to an array in javascriptappends elements to an array in jsadd element to array string javascriptjavascript push array objecthow to append element to arryajs add elements to listarray add itemadd value in an array jsjavascript add new items to arrayhow to add items to a list in jsjs append listhow to append element in array in jsadd new object to array jsjavascript array push objectadd an element in an arrayjavascript append element to arrayhow to append list in javascriptadd item to list javascriptappednd array javascriptjavascript push element to arrayadd array javascriptappend to a list javaxcripthow to add new list items with jsadd list element in javascriptjava script add elements to arrayadd new item to array jsappend data to list javascriptjs add an element to arrayadding list to html using append in jsjava script array appendadd element to list in javasctipehow to append to an array in javascriptjavascript append list to listhow to add item to listin javascriptadd new element at end of aray in jsadd element to array javascript examplejavascript add arrayhow to append javascript arrayadding values in array javascriptadd list item to ul javascripthow to append an element to an array in javascriptjs insert element into arrayjs list add valueadd items to list jsarray push array javascriptjs adding to a listjavascript appending to an arrayappend to list javascripadd string in vector javascriptjavascrit appent arrayjavascript append element in arrayadd new item in array javascriptadd element list jspush in array javascriptadding to array javascipthow to add to the list jsappend in aaray in jshow to add a new list with javascriptappend to a list using domappend to list from list in javascriptappend js arrayadd item to list jsjs add to listhow to push array to array in javascripthow to add a value in a list jsappendd to array javascriptadd data to arrayappend create an array element javascripthow to add an element to a list node jshow to add element in javascript arrayhow to append array in jspush to arrayjavascript add value to arrayhow to append something to a javascript arrayhow to add an element in an array in javascriptappend into user arrayhow to append to list with jshow to add a value in array javascriptadd in array javascripthow to add an element to an array jsjs add item to arrayadd values to array in jsappend in list javascriptjs add to end of arrayappend element list javascriptjs append list in listhow to add to list javascriptadd list to js functionhow to add list items in javascriptappend array jsadd list item html javascriptpush element to array of array javascriptjavascript appending arrayjs add values to array as stringhow to add to a list in jshow to add string to a list in javascriptjavascript add item to arrayjavascript add an element to an array listadding list elements in jsadd ele to array jshow to append to list in javascriptadd array items jspush array to array jsjavascript add to array with checklistreturn new array and add element javascriptjavascript list addhow to add array with javascriptadd array into array javascriptadd element to array javasvcripthow to aaappend to array in jsjavascript to add to arrayadd things to array javascripthow to push a element to an array in node jsjs array push new objectarray append in jsput js value into arrayjavascript append to array of valuesappend array to array jsadding elements to list in javascriptjavascript push 28 29add something to arrayjavascript adding element to arrayadd new element to array javascriptjavascript adding to arrayadd to a list in a list javascriptadd elements in an arrayadding an element to an arrayadd element to a list javascriptjavascript how to add to listexample array pushjavascript pushappend to list jsadd an item to an arrayappend items in js listnodejs array pushpush element in arrayjquery how to add values to arrayappending a list to list javascriptjavascript push array with appendchildadd elements in an list in jshow to push a complete array into another array in javascriptappend values in array javascriptappend in javascrip in arrayadd variable to array javascript append data to array javascripthow to append in array in javascriptadd elements in array jsadd to list nodejsjavascript how to add a new element to an array in javajs array addhow to add element in arrayappend data from an arraylist javascript addhow to add to array in javascriptjavascript list add iutemhow to add value to an array in javascriptadd new number in a list jshow to add a value to array in javascripthow to append in a arrayhow to add in array in javascriptjs add the same item to arrayinsert data into array javascriptinsert object into array javascriptappend element to array jsadd list array javascriptjavascript adding entry into arrayhow to add int to array in javascriptlist add javascriptjavasciript string 2cpushhow to append a value to an array in jshow to add to list in javascriptappend an array javascripthow to append to a list javascriptjavascript put element in arrayhow to add items to a list in javascripthow to push data to array in jsappending a list elements in javascripthow to add something to an array javascripthow to push item to end of array jscan you use push on a string jsadd array items to array javascriptappend item to list jshow to attach the list in javascripthow do you add an element to the end of array in javascriptlist add jspush to array javascriptcreate array and append in jshow to append array to array in javascripthow to add value to arrayadd list to array javascriptpush in arrayhow to apend item to array in javascriptadd item from array jshow to add to a list in javascript 5darray push javascriptpush element to list javascripthow to add elements of an array in javascripthwo to add items in an arrayhow to append an array in javascriptpush string javascripthow to add to array javascriptadd javascrip add arrayjavascript how to create an object with array and pushhow to add value to list in javascriptjavascript array addappending a list in jspush item to array in javascriptadd list to javascrioptarray javascript appendadd element in list in javascripthow to add element in list in javascriptappend string to list javascriptappending items to an array javascripthow to append element to array in jshow to add a list item with jsjavascript arrays appendadd lists javascriptadding list item in javascriptappend something to list jsadd an array into a new variable javascriptappend in javascript arrayappend elements to array javascriptjs add list in htmljs append to array jsadd value in list javascriptjavasctipt add item to arrayjavascript append from arrayjavascriptappend arrayhow do you append to list jsappend a list in jshow to append lists in jsadding array to array javascriptjs add list itemjavascript push array values into arrayjavascript append list