Javascript setTimeout()

Description

Javascript setTimeout()


// A simple anonymous function within a timer
// This will execute after 1 second
setTimeout(function() {
    console.log("Hi");
}, 1000);//from ww w.  j ava2  s.  com



PreviousNext

Related