Skip to content

Commit

Permalink
doc: replace function with arrow function in vm.md
Browse files Browse the repository at this point in the history
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 jasnell committed Nov 26, 2017
1 parent bd9f7d5 commit c9da774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ to the `http` module passed to it. For instance:
const vm = require('vm');

const code = `
(function(require) {
((require) => {
const http = require('http');
http.createServer((request, response) => {
Expand Down

0 comments on commit c9da774

Please sign in to comment.