$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #87
What is the output?
console.log('aaa'.replace('a', 'b'));
baa
bbb
aaa
ba
A string pattern replaces only the first match; /a/g replaces them all.
Play Problem Solving ▸
◂ #86
all Problem Solving — predict the output questions
#88 ▸