mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 10:39:10 -05: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);
|