# Why does elm use var instead of const under the hood

**URL:** <https://discourse.elm-lang.org/t/why-does-elm-use-var-instead-of-const-under-the-hood/4535>\
**Category:** Learn\
**Created:** [October 23, 2019, 8:46pm UTC](https://discourse.elm-lang.org/t/why-does-elm-use-var-instead-of-const-under-the-hood/4535 "2019-10-23T20:46:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![malaire](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@malaire](https://discourse.elm-lang.org/u/malaire)\
**Post date:** [October 23, 2019, 10:02pm UTC](https://discourse.elm-lang.org/t/why-does-elm-use-var-instead-of-const-under-the-hood/4535/4 "2019-10-23T22:02:31Z")

</div>

[Here](https://discourse.elm-lang.org/t/elm-support-for-older-browsers-ie-9-10/744)’s discussion about old IE support from February 2018. At least back then IE 9-10 should be possible to get working.

Now according to [Can I Use](https://caniuse.com/#feat=const), IE 9-10 don’t support `const` at all, and even IE 11 doesn’t support it fully.

---

_[View the full topic](https://discourse.elm-lang.org/t/why-does-elm-use-var-instead-of-const-under-the-hood/4535)._
