From c1c40ab14f482ba5e30b0de7a410b9f5e7fbaf04 Mon Sep 17 00:00:00 2001 From: Santiago Miranda Date: Wed, 2 Dec 2020 20:28:27 +0000 Subject: [PATCH] Update index.js Just included a nicer notation --- examples/hello-world/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/hello-world/index.js b/examples/hello-world/index.js index 04382ac3d0..a5fe5482ea 100644 --- a/examples/hello-world/index.js +++ b/examples/hello-world/index.js @@ -2,9 +2,9 @@ var express = require('../../'); var app = express(); -app.get('/', function(req, res){ - res.send('Hello World'); -}); +app.get('/', (req, res) => { + res.send('Hello World') +}) /* istanbul ignore next */ if (!module.parent) {