SAP interview question

How to flatten this array [[4,5,6],3,2,1,[7,8]]

Interview Answer

Anonymous

25 Nov 2019

Using flat() method [[4,5,6],3,2,1,[7,8]].flat()

1