javascript sleep settimeout

JavaScript
setTimeout(() => {  console.log("World!"); }, 2000);
Source

Also in JavaScript: