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'; console.log(firstInteger + parseInt(secondInteger)); console.log(firstDecimal + parseFloat(secondDecimal)); console.log(firstString.concat(secondString)); }
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 →