/**
* @param {string} firstWord
* @param {string} secondWord
* @param {string} targetWord
* @return {boolean}
*/
var isSumEqual = function(firstWord, secondWord, targetWord) {
return parseInt(firstWord.split('').map(e => e.charCodeAt() - 97).join(''))
+ parseInt(secondWord.split('').map(e => e.charCodeAt() - 97).join(''))
=== parseInt(targetWord.split('').map(e => e.charCodeAt() - 97).join(''))
};