(This question is not really restricted to the language so please feel free to submit solution in other languages too.)
I was just wondering if it would be possible to write something like this in JavaScript:
// Wait 3 seconds and then say our message in an alert box
wait(3).then(function(){alert("Hello World!");});
Where the traditional way would be to write
// Wait 3 seconds and then say our message in an alert box
setTimeout(function(){alert("Hello World!");}, 3000);
Sorry if this is a noob question :p