mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
941bc93f22
This adds a implicit common.mustCall to the callback provided to the countdown. PR-URL: https://github.com/nodejs/node/pull/18506 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
3 lines
78 B
JavaScript
3 lines
78 B
JavaScript
const Countdown = require('../common/countdown');
|
|
new Countdown(2, () => {});
|