The promisify function (Chapter04/01_promisify.js) contains a reference to the arguments variable in the callback which happens to be an arrow function (with lexical arguments).
Please find attached a test which demonstrates the problem.
Thank you.
test.js.txt
The promisify function (Chapter04/01_promisify.js) contains a reference to the
argumentsvariable in the callback which happens to be an arrow function (with lexicalarguments).Please find attached a test which demonstrates the problem.
Thank you.
test.js.txt