What does this program print?

from Functions
Node 24 beginner 2 min

What does this program print?

JavaScript
function read(value = 'fallback') {
  return String(value);
}

console.log([
  read(),
  read(undefined),
  read(null),
  read(''),
].join('|'));
Open in playground
Report an error