Skip to content

Commit

Permalink
doc: use arrow function
Browse files Browse the repository at this point in the history
PR-URL: #24590
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
  • Loading branch information
sadnessOjisan authored and rvagg committed Feb 28, 2019
1 parent 12ee805 commit 5babfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Usage:
// Print GC events to stdout for one minute.
const v8 = require('v8');
v8.setFlagsFromString('--trace_gc');
setTimeout(function() { v8.setFlagsFromString('--notrace_gc'); }, 60e3);
setTimeout(() => { v8.setFlagsFromString('--notrace_gc'); }, 60e3);
```

## Serialization API
Expand Down

0 comments on commit 5babfcb

Please sign in to comment.