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 <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
This commit is contained in:
Daiki Arai authored and Rod Vagg committed 2019-02-28 23:37:35 +11:00
1 parent c58f6a9351
commit db2358e9d8
1 file changed
+2 -1
+2 -1
View File
@@ -18,7 +18,8 @@ const scriptFiles = [
];
var script = '';
scriptFiles.forEach(function(s) {
scriptFiles.forEach((s) => {
script += process.binding('natives')[s] + '\n';
});