---
title: "Comment by Dean Tarisai on \"Array and all its methods in Javascript\" | Hashnode"
description: "Yesterday I failed a JS interview question about flattening arrays. Had forgotten about the Array.flat() method. An informative and memory jogging post. Keep it"
url: "https://hashnode.com/posts/array-and-all-its-methods-in-javascript/63a694b923ec72997f359cff/comment/63a6a102b1011ed9ec6cd29f"
---

[Discussion](https://hashnode.com/posts/array-and-all-its-methods-in-javascript/63a694b923ec72997f359cff)

Comment [Array and all its methods in Javascript](https://hashnode.com/posts/array-and-all-its-methods-in-javascript/63a694b923ec72997f359cff)

[Dean Tarisai](https://hashnode.com/@deantarisai)

[Dec 24, 2022](https://hashnode.com/posts/array-and-all-its-methods-in-javascript/63a694b923ec72997f359cff/comment/63a6a102b1011ed9ec6cd29f)

Yesterday I failed a JS interview question about flattening arrays. Had forgotten about the Array.flat() method. An informative and memory jogging post.

Keep it up!
