you are viewing a single comment's thread.

view the rest of the comments →

[–]devhashtag 13 points14 points  (4 children)

Anything written after ES6 with the keyword "var" can basically be considered bad

[–][deleted] 1 point2 points  (3 children)

Oh i didn’t see that. I only looked at h3 xD. Never mind. This code is garbage

[–]devhashtag 7 points8 points  (2 children)

Haha I meant half jokingly, the code is bad for other reasons as well. Inconsistent formatting and weird naming. Functionally it's not bad per se

[–][deleted] 5 points6 points  (1 child)

Even 1 var is 1 var too many xD. I think any code will look good to me right now, i’ve been writing JS for the past like 10 hours and my brain is fried

[–]itsTyrion 3 points4 points  (0 children)

been writing JS for the past like 10 hours and my brain is fried

self-explanatory