Flattens a array: [1,[2,[3,4]],5] will become [1,2,3,4,5]. Non primitive values are copied by reference.
Array to be flattened.
The flattened array.
Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.
Flattens a array: [1,[2,[3,4]],5] will become [1,2,3,4,5]. Non primitive values are copied by reference.