logo

Crowdly

Browser

Add to Chrome

Context: Replacing all matches. Result of: const str = "a b a"; console.log(...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Context:

Replacing all matches.

Result of:

const str = "a b a";

console.log(str.replaceAll("a", "x"));

]]>
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.ncst.edu.bh?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome