Open matthewdking opened 6 years ago
if you're going with es6 then you should use const
to declare some variables that will never change throughout the code for example functions that you'll use https://github.com/FACN3/mashrou_ghazal/blob/master/src/handler.js#L1
Noted @shiryz @matthewdking
In handler.js you are using a mixture of ES5 and ES6. Eg
ES6 arrow function
ES5 function
For consistency I would suggest picking one and sticking with it. In the back end use ES6 where possible :+1: