Functions - parameters and arguments (3)
In this exercise, the function func defines the parameters a and b. But, currently only 1 argument is passed to the function. Therefore, the value of b is
undefined
.Adjust the code below so that the console.log()
statement logs hello world
.Premium
JavaScript
Console