Unverified Commit d85a6354 authored by Anatoli Papirovski's avatar Anatoli Papirovski Committed by Gibson Fahnestock
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 ce91a389
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