Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

JavaScript Question of the Day Jan. 7, 2025

  1. Incorrect Correct No Answer was selected Invalid Answer

    What is printed to the console when the following program is run?

    function main() {
        let a = 5;
        let b = 10;
        let c = 15;
    
        printValues(a, b, c);
    }
    
    function printValues(third, first, second) {
        console.log(first);
        console.log(second);
        console.log(third);
    }
    
    main();
    JavaScript