Unverified Commit ec6c0632 authored by Anatoli Papirovski's avatar Anatoli Papirovski
Browse files

doc: fix modules.md export example

Arrow functions cannot be called with the new keyword,
convert to ES6 classes instead.

PR-URL: https://github.com/nodejs/node/pull/17579
Refs: https://github.com/nodejs/node/pull/17364


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 73ad3f9b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment