2023-02-26 01:30

This commit is contained in:
2023-02-26 01:30:37 +09:00
commit 9a13ccbd17
122 changed files with 32148 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
let fun0 = function () {
console.log("Hello");
};
let fun2 = function (param1, param2) {
console.log(param1, param2);
};
setTimeout(fun0, 50);
setTimeout(fun2, 100, 1, 2);
const timerId = setTimeout(() => { console.log("Hi"); }, 2000);
clearTimeout(timerId);
/**
*/
const intervalId = setInterval(fun0, 100);
setTimeout(() => { clearInterval(intervalId) }, 1000);
/**
*/
setImmediate(() => { });
process.nextTick(() => { });