wowserhq / blizzardry

JavaScript library for mastering the wizardry that is Blizzard's game files
MIT License
55 stars 15 forks source link

chore: replace var with const, add minor things #127

Open Helias opened 1 year ago

Helias commented 1 year ago

There is no reason to use var anymore, so do not use it, never.

I replaced also a forEach with for-of for performance reasons but also because it is easier to manage and read.

I added a 6. step into the development step because I was not really familiar with import/require modules logic in nodejs.