Commit 4151ab39 authored by James M Snell's avatar James M Snell
Browse files

util: add createClassWrapper to internal/util

Utility function for wrapping an ES6 class with a constructor
function that does not require the new keyword

PR-URL: https://github.com/nodejs/node/pull/11391


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
parent 804bb22e
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