• + 0 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);
    

    }