Is there a JavaScript equivalent of the Python pass statement that acts as a no-operation?

Sometimes, for placeholders, you can use an arrow function that returns undefined explicitly, which effectively does nothing:

const noop = () => {};

Use noop() wherever you need a no-op callback or placeholder function. This is common in event handlers or promises.