回答編集履歴
1
書き間違い
test
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
const p = 'The quick brown fox jumps over the lazy dog. If the dog reacted, was it really lazy?';
|
2
|
-
console.log(p.replace(
|
2
|
+
console.log(p.replace(/dog/g, 'monkey'));
|