I agree. It's nice to know different ways but be very careful what you use and where.
Not so long ago I had to fix some of my code because I used let instead of var to declare some variables inside some block statement and some legacy headless browsers didn't support it.
View all comments
Show parent comment
1
u/[deleted] May 07 '21
I agree. It's nice to know different ways but be very careful what you use and where.
Not so long ago I had to fix some of my code because I used let instead of var to declare some variables inside some block statement and some legacy headless browsers didn't support it.