rapidjs / rapid.js

An ORM-like Interface and a Router For Your API Requests
https://rapidjs.drewjbartlett.com
710 stars 45 forks source link

Change var and let to const where applicable #10

Closed ricklancee closed 7 years ago

ricklancee commented 7 years ago

In some places var is used and other places let is used when the variable doesn't change. To make it more "ES6" this changes var and let to const where its applicable.

Tests passed when ran.

drewjbartlett commented 7 years ago

Just need to test this a bit before pushing this one live. I'll be honest that I've really only been playing with es6 for about 6 months now.