Add new method documentation file for a new JavaScript function in src/content/docs.
The instructions about defining the file's name are documented in the CONTRIBUTING.md file.
Description
Function name: example array flat()
Function description: Flattens nested arrays into a single array.
File name: example 02-array/15_array-flat.md
Checklist
[ ] create the file with the proper name
[ ] create the documentation of the function
[ ] write example in examples directory
[ ] execute bun run format-examples-bun or npm run format-examples
What
Add new method documentation file for a new JavaScript function in
src/content/docs
. The instructions about defining the file's name are documented in theCONTRIBUTING.md
file.Description
Function name: example
array flat()
Function description: Flattens nested arrays into a single array. File name: example02-array/15_array-flat.md
Checklist
examples
directorybun run format-examples-bun
ornpm run format-examples
Must read: