Which code executes say Hello once, two minutes from now?
Refer to the code below:
letsayHello = () => {
console.log (‘Hello, world!’);
};
Which code executes say Hello once, two minutes from now?
A . setTimeout(sayHello, 12000);
B . setInterval(sayHello, 12000);
C . setTimeout(sayHello(), 12000);
D . delay(sayHello, 12000);
Answer: A
Latest JavaScript Developer I Dumps Valid Version with 144 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments