+
first converts both arrays to a string, and then adds strings. For this you need to use the concat
method.
> classical=["Beethoven","Mozart","Tchaikovsky"]; ["Beethoven", "Mozart", "Tchaikovsky"] > pop=["Beatles","Corrs","Fleetwood Mac","Status Quo"]; ["Beatles", "Corrs", "Fleetwood Mac", "Status Quo"] > all = classical.concat(pop) ["Beethoven", "Mozart", "Tchaikovsky", "Beatles", "Corrs", "Fleetwood Mac", "Status Quo"]
source share