DEV Community

Discussion on: JavaScript Code Daily Challenge #2

Collapse
 
joachimzeelmaekers profile image
Joachim Zeelmaekers

Nice read! If you want to improve the readability you can use js to the first 3 backticks to add syntax highlighting! It would look like this:

function main() {
    const secondInteger = readLine();
    const secondDecimal = readLine();
    const secondString = readLine();

    performOperation(secondInteger, secondDecimal, secondString);
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
lakshyatyagi24 profile image
Lakshya Tyagi

Thanks Joachim Today i get to know something knew and it's really interesting