---
title: "Discussion on \"What is flat() function in JavaScript ,how to implement it's polyfill.\" | Hashnode"
description: "Discussion on \"What is flat() function in JavaScript ,how to implement it's polyfill.\". Before starting to read this article, You must have good knowledge of 'this' keyword of JavaScript. If you want to learn about 'this' keyword ,Please Click here\nThe flat() method creates a new array with all sub-array elements concatenated into it .\n..."
url: "https://hashnode.com/posts/what-is-flat-function-in-javascript-how-to-implement-its-polyfill/6474e349170adfab7830c13c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is flat() function in JavaScript ,how to implement it's polyfill.](https://amitsblog.hashnode.dev/what-is-flat-function-in-javascript-how-to-implement-its-polyfill?utm_source=hashnode&utm_medium=feed)

Before starting to read this article, You must have good knowledge of 'this' keyword of JavaScript. If you want to learn about 'this' keyword ,Please Click here The flat() method creates a new array with all sub-array elements concatenated into it . ...

May 29, 2023 · 1 min read · amitsblog.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array](https://hashnode.com/tag/array)
-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#polyfills](https://hashnode.com/tag/polyfills)
-   [#flat-method](https://hashnode.com/tag/flat-method)

## Written by

[Amit Chaudhary](https://hashnode.com/@amit82)

@amit82 · Remote

  
[View profile](https://hashnode.com/@amit82)

Frontend Developer

Frontend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
