let hello = " Hello, World! ";
let wsRegex = /\w+,\s\w+!/; // Change this line
let result = hello.match(wsRegex)[0]; // Change this line
console.log(result);
// running tests // tests completed // console output Hello, World! Hello, World!
Just want to spend this life happier.
let hello = " Hello, World! ";
// running tests // tests completed // console output Hello, World! Hello, World!
Comments
Post a Comment