Skip to content

Commit

Permalink
doc: fix optional parameters in runInNewContext()
Browse files Browse the repository at this point in the history
sandbox and options parameters were shown as independently optional which was not correct
  • Loading branch information
davidgilbertson committed Nov 23, 2016
1 parent a69ed0e commit 9c16e77
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 @@ -113,7 +113,7 @@ console.log(sandbox);
// { animal: 'cat', count: 12, name: 'kitty' }
```

### script.runInNewContext([sandbox][, options])
### script.runInNewContext([sandbox[, options]])
<!-- YAML
added: v0.3.1
-->
Expand Down

0 comments on commit 9c16e77

Please sign in to comment.