Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
JavaScript
/
String methods
Which call replaces every {{amount}} marker with the literal external value, even when th…
from String methods
Node 24
intermediate
1 min
Which call replaces every {{amount}} marker with the literal external value, even when that value contains $& or $1?
template.replaceAll("{{amount}}", value)
template.replaceAll("{{amount}}", () => value)
template.replace("{{amount}}", value)
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload