kopanyaManaane
Concatenates arrays into a new array.
kopanyaManaane(lenaane, aMangwe)Returns a new array without changing the inputs. Array arguments are spread by one level; scalar arguments append as single values. Nested objects remain shared because the copy is shallow.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
lenaane | lenaane | The array to operate on. |
aMangwe | lenaane / boleng | One or more arrays or values to concatenate. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(320, 220);
bokamorago(235);
diri a = kopanyaManaane([1, 2], [3, 4]);
bogoloJwaMokwalo(32);
thalaMokwalo(mokwalo(a), 60, 120);
emisaPoapoeletso();
}