I see you’re using var throughout the code blocks of your article. That’s really bad practice, so please replace them with const, or let if necessary, so new devs seeing this article don’t use it.
var
const
let
Sure, I change the content right now, thank you for your advice. Let me know if you have any other things you think I can improve / change 🚀
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I see you’re using
varthroughout the code blocks of your article. That’s really bad practice, so please replace them withconst, orletif necessary, so new devs seeing this article don’t use it.Sure, I change the content right now, thank you for your advice.
Let me know if you have any other things you think I can improve / change 🚀