Permalink
Browse files

doc: replace function with arrow function in vm.md

PR-URL: #17307
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
narirou authored and gibfahn committed Nov 26, 2017
1 parent 0ef4f78 commit b2236a380465a8c6542cc21d658d75439f2d38ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/vm.md
View
@@ -458,7 +458,7 @@ to the `http` module passed to it. For instance:
const vm = require('vm');
const code =
`(function(require) {
`((require) => {
const http = require('http');

0 comments on commit b2236a3

Please sign in to comment.