/
array.cat()

array.cat()







Examples

Merge 2 arrays and 3 individual values
pjs.define("a", { type: 'integer', dim: 3 }); pjs.define("b", { type: 'integer', dim: 3 }); pjs.define("c", { type: 'integer', dim: 9 });   a = [1, 2, 3]; b = [4, 5, 6]; c = a.cat(b, 7, 8, 9); // c now contains [1, 2, 3, 4, 5, 6, 7, 8, 9]