fac-14/CJKO-autocomplete

Mix of ES6 and ES5 in handlers file

开放

#55 创建于 2018年7月27日

 (0 条评论) (0 个反应) (1 位负责人)JavaScript (1 个派生)auto 404
Donegood first issueserver

仓库指标

星标
 (0 个星标)
PR 合并指标
 (30 天内没有已合并 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) => {...}

贡献者指南