You’re are correct, I still need to revise it and edit it! I really appreciate the feedback!
I know “let” is the new way to declare variables and “var” was pretty much the old school way.
It's not so much "new" vs. "old" school as they are not quite the same. "var" is basically available everywhere whereas "let" is limited to a scope.
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.
You’re are correct, I still need to revise it and edit it! I really appreciate the feedback!
I know “let” is the new way to declare variables and “var” was pretty much the old school way.
It's not so much "new" vs. "old" school as they are not quite the same. "var" is basically available everywhere whereas "let" is limited to a scope.