diff options
author | sadness_ojisan <sadness.ojisan@gmail.com> | 2018-11-24 10:00:12 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-11-24 12:56:33 +0300 |
commit | 85aa53a1c9a5ff3362d6fb3b67776a63d4a88b8a (patch) | |
tree | 182a899d7640a6528f369c9825791da80ccc608b /doc/api/v8.md | |
parent | 6e4502c635d1e8b3fea514c2eac54a7d75780e6e (diff) |
doc: use arrow function
PR-URL: https://github.com/nodejs/node/pull/24590
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r-- | doc/api/v8.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md index 6ce474a9bae..c284161d423 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -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 |