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 Nov 28, 2018
1 parent f80e7a1 commit 657d7a5
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 657d7a5

Please sign in to comment.