+ 1
Are there any function on js that can take two characters from tow different var and put it together on one element of array
for example var x="a"; var y="b"; /*and i have array i wont to make the first location of it "ab"*/
4 Antworten
+ 1
var arr =[ ]
var x="a"
var y="b"
arr.push(x+y)
+ 1
please I don't understand what you mean
0
but where i can define the location on array that i wont stor "ab"in it
0
i wont the
arr[5]="ab"
for exampl