Great run-through in this StackOverflow answer. They behave differently, it's important to know what the differences are. I find let clearer in almost every case, the only exception in my personal use has already been covered by other commenters - the try/catch thing doesn't really have a clean workaround using let.
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.
Yes, I use it. Like, why wouldn't I?
Great run-through in this StackOverflow answer. They behave differently, it's important to know what the differences are. I find
let
clearer in almost every case, the only exception in my personal use has already been covered by other commenters - thetry/catch
thing doesn't really have a clean workaround usinglet
.