From e5c85ef8863f0be6bb1be4a454504f0575de32f4 Mon Sep 17 00:00:00 2001 From: Daiki Arai Date: Sat, 24 Nov 2018 16:51:28 +0900 Subject: [PATCH] lib: convert to Arrow Function convert to Arrow Function and test by `./tools/test.py tick-processor` PR-URL: https://github.com/nodejs/node/pull/24615 Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Joyee Cheung Reviewed-By: Gireesh Punathil Reviewed-By: Masashi Hirano --- lib/internal/v8_prof_processor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/v8_prof_processor.js b/lib/internal/v8_prof_processor.js index 572b8074c46f1e..6c741ea330d5b9 100644 --- a/lib/internal/v8_prof_processor.js +++ b/lib/internal/v8_prof_processor.js @@ -18,7 +18,7 @@ const scriptFiles = [ ]; var script = ''; -scriptFiles.forEach(function(s) { +scriptFiles.forEach((s) => { script += internalBinding('natives')[s] + '\n'; });