Syntax
extend(array,array,… )
Description
The extend() adds the specified list elements to the end of the current list.
Example
fruits = ["apple", "banana", "cherry"] cars = ["Ford", "BMW", "Volvo"] Extended=extend(fruits, cars) println(Extended) [apple, banana, cherry, Ford, BMW, Volvo] }