What does this string method return?

AI uses string methods constantly. This one trips up beginners.

stringssplitmapjoin
javascript
function getInitials(fullName) {
  return fullName
    .split(' ')
    .map(word => word[0])
    .join('')
    .toUpperCase()
}

Question

What does getInitials("john doe smith") return?