list
> a = [1,2,3]
[ 1, 2, 3 ]
> a[a.length]
undefined
> a[a.length-1]
3
Add two lists together
a = [1,2]
b = [3,4]
c = a.concat(b)
console.log(c)
- [[|[|[|[|) Method
> a = [1,2,3]
[ 1, 2, 3 ]
> a[a.length]
undefined
> a[a.length-1]
3
a = [1,2]
b = [3,4]
c = a.concat(b)
console.log(c)