mkumary

Member since
mkumary

Recent Docs Activity

View all activity
Page Dată Comentariu

String.prototype.split()


Array.prototype.flat()


Flatten method is capable of flattening deeply nested array. Reduce and concat can do shallow flattening hence added recursion to achieve deep flattening.