Once Upon a Time in Javascript: The const Keyword

Once Upon a Time in Javascript: The const Keyword

const keyword was first introduced in javascript as part of ECMAScript 6 standard back in 2015. It probably the most popular way of declaring a variable in javascript, but how was javascript before them?