You are viewing a single comment's thread. Return to all comments →
function performOperation(secondInteger, secondDecimal, secondString) { const firstInteger = 4; const firstDecimal = 4.0; const firstString = 'HackerRank ';
const sumIntegers = firstInteger + Number(secondInteger); console.log(sumIntegers); const sumDecimals = firstDecimal + Number(secondDecimal); console.log(sumDecimals); const concatenatedString = firstString + secondString; console.log(concatenatedString);
}
Seems like cookies are disabled on this browser, please enable them to open this website
Day 0: Data Types
You are viewing a single comment's thread. Return to all comments →
function performOperation(secondInteger, secondDecimal, secondString) { const firstInteger = 4; const firstDecimal = 4.0; const firstString = 'HackerRank ';
}