fac-14/CJKO-autocomplete

Mix of ES6 and ES5 in handlers file

オープン

#55 opened on 2018/07/27

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (1 件のフォーク)auto 404
Donegood first issueserver

Repository metrics

Stars
 (0 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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) => {...}

コントリビューターガイド