UNPKG

@stdlib/array

Version:
24 lines (17 loc) 351 B
{{alias}}( x ) Copies the elements of an indexed array-like object to a new "generic" array. Parameters ---------- x: ArrayLikeObject Input array. Returns ------- out: Array Output array. Examples -------- > var out = {{alias}}( [ 1, 2, 3 ] ) [ 1, 2, 3 ] See Also --------