flat method It returns a new flattened array . For Example Rightwards arrow const array=[ 1, 2, [ 3, 4, ] , 5, [ 6, 7 ] ] ; console.log( array.flat( ) ) OUTPUT[ 1, 2, 3, 4, 5, 6, 7 ] We Got a brief About Flat method . Lets Explore With An ...