Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Just included a nicer notation
  • Loading branch information
Santiago Miranda committed Dec 2, 2020
1 parent 5089368 commit c1c40ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/hello-world/index.js
Expand Up @@ -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) {
Expand Down

0 comments on commit c1c40ab

Please sign in to comment.