DEV Community

Discussion on: Var vs Let vs Const

Collapse
 
learosema profile image
Lea Rosema (she/her)

Great article!

One nice(or odd?) fact about older browser support: you can use let and const in IE11 without transpiling, even though it does not support most of the ES6+ features.

But I think, you may want to use a transpiler anyway for full ES2018 support.

Collapse
 
nicolasmesa profile image
Nicolas Mesa

I didn't know that! Thanks for the insight.

I agree that using a transpiler is still the way to go to ensure browser compatibility :)