doc: fix incorrect vm.createContext usage
In code example `vm.createContext` called with new operator by mistake. It is not a constructor. PR-URL: https://github.com/nodejs/node/pull/16059 Reviewed-By:Anna Henningsen <anna@addaleax.net> Reviewed-By:
Timothy Gu <timothygu99@gmail.com> Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Minwoo Jung <minwoo@nodesource.com>
parent
10622c63
Please register or sign in to comment