public native static operator+(readonly notnull left as Array<T>, readonly notnull right as Array<T>) as Array<T>
Concatenates two fixed arrays into a new fixed array.
The returned array has the same concrete runtime type as the left operand and contains all elements from both operands in order.
import klyn.collections left = f:[10, 20] right = f:[30, 40] print(left + right) # f:[10, 20, 30, 40]
| Parameter | Description |
|---|---|
left | Left array. |
right | Right array. |
New fixed array containing both operands.