fac-14/CJKO-autocomplete

Mix of ES6 and ES5 in handlers file

Offen

#55 geöffnet am 27.07.2018

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (1 Fork)auto 404
Donegood first issueserver

Repository-Metriken

Stars
 (0 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

https://github.com/fac-14/CJKO-autocomplete/blob/2d7b151d528a65d0b7e0e335bac001633e5a5dcf/src/handlers.js#L6

As the best practice it's good to stick to one. If you want to use const, write your functions also as arrow functions like this: const mainHandler = (request, response) => {...}

Contributor Guide