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 String.replaceAll()
Function description: Replaces all occurrences of a substring in a string
File name: example 05-string/11_str-replaceall.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
String.replaceAll()
Function description: Replaces all occurrences of a substring in a string File name: example05-string/11_str-replaceall.md
Checklist
examples
directorybun run format-examples-bun
ornpm run format-examples
Must read: