Skip to content

Commit 1bf4b09

Browse files
author
rejwar
committed
my first upload
1 parent 74b10fc commit 1bf4b09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sentence2.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const str = "Hello world! Hello everyone!";
2+
const newStr = str.replaceAll("Hello", "Hi");
3+
console.log(newStr); // Output: "Hi world! Hi everyone!"

0 commit comments

Comments
 (0)