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.trimStart() and String.trimEnd()
Function description: ...
File name: example 05-string/12_str-trimstart-trimend.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.trimStart()
andString.trimEnd()
Function description: ... File name: example05-string/12_str-trimstart-trimend.md
Checklist
examples
directorybun run format-examples-bun
ornpm run format-examples
Must read: