Milliseconds

Report a typo

What do we have to put instead of the "…" to launch the function greeting in 10 sec?

function greeting() {
  console.log('Hello, Mr. Smith!');
}

setTimeout(greeting, ...);
Enter a number
___

Create a free account to access the full topic