Guest practice: this set is not saved and does not count.
What does this log?
function findMax() { let max = -Infinity; for (let i = 0; i < arguments.length; i++) { if (arguments[i] > max) { max = arguments[i]; } } return max; } console.log(findMax());
Which statement about the arguments object is true?
arguments
.map()
What happens when this runs?
function perform(fn) { return fn(); } const sayHello = function () { return "Hello"; }; console.log(perform(sayHello()));
ReferenceError
TypeError
Hello
undefined
const f = (x, y) => { x * y }; console.log(f(3, 4));
setTimeout(showMessage(), 3000) waits three seconds and then runs showMessage.
setTimeout(showMessage(), 3000)
showMessage
Click a question to go back and check it. After you submit, you will see the right answer and an explanation for every question. As a guest, nothing is saved.
Check my answers