Skip to content
Quiz · Functions · lesson 3 of 10

Quiz — a missing argument

What does the program print?

JavaScript
function add(a, b) {
    return a + b;
}

console.log(add(1), add(1, 2, 3));

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way