Skip to content
Subhajit Sahu edited this page Aug 7, 2022 · 1 revision

Do nothing.

Similar: ARGUMENTS, NOOP, IDENTITY, COMPARE.


function NOOP(...args)
// args: arguments (ignored)

const xasyncfn = require('extra-async-function');


await xasyncfn.NOOP(1, 2);
// → undefined

await xasyncfn.NOOP('a', Promise.resolve('b'));
// → undefined
Clone this wiki locally