Open yvonne-liu opened 7 years ago
What's the reason behind mixing ES5 and ES6 syntax?
Some good reads: https://medium.com/javascript-scene/javascript-es6-var-let-or-const-ba58b8dcde75 https://javascriptweblog.wordpress.com/2010/07/06/function-declarations-vs-function-expressions/
Changed it!
Put it all in ES6
What's the reason behind mixing ES5 and ES6 syntax?
Some good reads: https://medium.com/javascript-scene/javascript-es6-var-let-or-const-ba58b8dcde75 https://javascriptweblog.wordpress.com/2010/07/06/function-declarations-vs-function-expressions/