The example in the documentation on https://github.com/isaacs/once#oncestrictfunc is incorrect: "ReferenceError: `msg` is undefined." Since the argument for `once` is a callback, its argument is likely intended to be `log` instead.
The example in the documentation on https://github.com/isaacs/once#oncestrictfunc is incorrect: "ReferenceError:
msgis undefined."Since the argument for
onceis a callback, its argument is likely intended to beloginstead.