A function that executes a callback and ignores it completely, if it throws an error, returns any value, rejects
a promise - it will be all ignored. It will attach a catch handler to any returned promise to avoid unhandled
rejections.
Use it whenever you want to call a function, but you are not interested in its result or failure.
A function that executes a callback and ignores it completely, if it throws an error, returns any value, rejects a promise - it will be all ignored. It will attach a catch handler to any returned promise to avoid unhandled rejections.
Use it whenever you want to call a function, but you are not interested in its result or failure.
Example