Task

Show how to concatenate two arrays in your language.



If this is as simple as array1 + array2, so be it.




/*
 Array concatenation, in Neko
*/
 
var a1 = $array(1,2,3,4)
var a2 = $array("abc", "def")
 
/* $array(a1, a2) creates an array of two arrays, $aconcat merges to one */
var ac = $aconcat($array(a1, a2))
$print(ac, "\n")