Learn JavaScript setTimeout() in 6 minutes! ⏰

Your video will begin in 10
74 Views
Published
00:00:00 introduction
00:00:30 setTimeout w/ callback
00:01:04 setTimeout w/ anonymous functions
00:01:25 setTimeout w/ arrow funcitons
00:01:43 clearTimeout()
00:02:32 start button
00:03:51 clear button
00:05:49 conclusion

// setTimeout() = function in JavaScript that allows you to schedule
// the execution of a function after an amount of time
// Times are approximate
// setTimeout(callback, delay);

function hello() {
window.alert("Hello");
}

setTimeout(hello, 3000);
Category
Bro Code
Tags
javascript, javascript tutorial, javascript full course
Be the first to comment