rginestou / ai_programming_challenge

Javascript server to run AI Battle on a game
1 stars 0 forks source link

Style: use arrow functions instead of function keyword #4

Open emersion opened 7 years ago

emersion commented 7 years ago
server.listen(config.port, function(){console.log('App running on port ' + config.port)})

->

server.listen(config.port, () => console.log('App running on port ' + config.port))
Granipouss commented 7 years ago

Not a real issue, I like arrow functions indeed but for new comers to javascript it can be hard to understand.