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 <[email protected]>
Reviewed-By: Yosuke Furukawa <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
narirou authored and MylesBorins committed Dec 12, 2017
1 parent f51cb1c commit 0b14488
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 @@ -474,7 +474,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 0b14488

Please sign in to comment.