let text = "'I'm the cook,' he said, 'it's my job.'";
// Change this call.
console.log(text.replace(/(\W|^)'|'(\W|$)/g, '$1"$2'));
// → "I'm the cook," he said, "it's my job."

console.log(text.replace(/(\W|^)'|'(\W|$)/g, `$1"$2`));

Add chapter 9, exercise 2
Add chapter 9, exercise 2
