Skip to content

noop

noop(...args)

A no-operation function that accepts any number of arguments and returns void.

ts
noop(); // undefined
noop(1, 2, 3); // undefined