Quick actions

cmd+k|ctrl+k

Navigation

Languages

同步任务队列

Snippet info

Language

JavaScript

Visibility

unlisted

Author

1010493573

Created

2021-09-16T09:11:24.307026Z

Updated

2021-09-16T09:11:24.307026Z

function taskA(){
    console.log("run TaskA")
}

function taskB(){
    console.log("run TaskB")
}

function taskC(){
    console.log("run TaskC")
}

let queueList = [taskA,taskB,taskC];
queueList.forEach((task)=>{
    task.call();
})
INFO