mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
9dfebbc949
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
11 lines
177 B
TypeScript
11 lines
177 B
TypeScript
setTimeout((): void => {
|
|
console.log("World");
|
|
}, 10);
|
|
|
|
console.log("Hello");
|
|
|
|
const id = setTimeout((): void => {
|
|
console.log("Not printed");
|
|
}, 10000);
|
|
|
|
clearTimeout(id);
|