How to pass arguments into setTimeout() in JavaScript

The easiest way to do so is to run a function with arguments inside other function.

setTimeout(function() {
    otherFunction(argument1, argument2);
}, 1000)

Example:

<script>
    function multiply(num1, num2) {
        return num1 * num2;
    }

    setTimeout(function() {
        console.log(multiply(5, 3));
    }, 1000)
</script>

Output in console (after 1 second): 15