Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

JavaScript Question of the Day Jan. 3, 2025

  1. Incorrect Correct No Answer was selected Invalid Answer

    In the following program:

    function main() {
        let num = 5;
        addMagicNum(num);
    }
    
    function addMagicNum(incoming) {
        let magic = 12;
        let total = incoming + magic;
        console.log(total);
    }
    
    main();
    JavaScript

    which variable is known as an argument?