We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 0: Data Types
Day 0: Data Types
Sort by
recency
|
264 Discussions
|
Please Login in order to post a comment
console.log(firstInteger + +secondInteger) console.log(firstDecimal + +secondDecimal) console.log(firstString + secondString)
function performOperation(secondInteger, secondDecimal, secondString) { const firstInteger = 4; const firstDecimal = 4.0; const firstString = 'HackerRank ';
}
console.log(parseInt(secondInteger) + firstInteger); console.log(parseFloat(secondDecimal) + firstDecimal) console.log(firstString + secondString);
`
I have to be missing something pretty obvious because it says I've passed test case 0 but I'm failed test case 1 and test case 2. However, I'm not even seeing a test case 1 or 2.
What am I missing?