Question 10
Consider the following javascript code.
function translateToEmoji(msg, dictionary, cb) { const translated = msg .split(' ') .map(word => dictionary[word] || word); cb(translated.join(' '));}
translateToEmoji('i love code', { heart: '🤎', code: '💻' }, result => console.log(result));What's logged?