Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

[Added] JS nuDelay()

Information about updates, news, Code Library
admin
Site Admin
Posts: 2824
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

[Added] JS nuDelay()

Unread post by admin »

To delay a function execution in JavaScript, use the nuDelay(milliseconds) function.

Code: Select all

nuDelay(1000).then(() => {
  alert("One second has passed");
});
Post Reply