hyTags
HomeHome DocumentationDocumentation

array-copy

Creates a copy of the array.
Parameter
Type
Description
self
[T]
Array to copy
return
[T]
Copy of the array
Test Case:Copy array
    <div></div>
    
    <array-new type="string">
    <array-append value="a">
    <array-append value="b">
    <array-copy>
    <array-join separator=",">
    <assert-equal value="a,b" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed