What does this program print on its second line?

from Web security fundamentals
Node 24 beginner 2 min

What does this program print on its second line?

JavaScript
function escapeHtmlText(value) {
  return value.replace(/[&<>]/g, (character) => ({
    '&': '&amp;', '<': '&lt;', '>': '&gt;',
  })[character]);
}

const name = '<b>Ada & Lin</b>';
console.log(name);
console.log(escapeHtmlText(name));
Open in playground
Report an error