Initially, I interpreted the "const" keyword as indicating that a variable's value couldn't be changed. This seemed true for integers and strings. However, while watching a video today, I saw someone write the following:
const my_list = [];
my_list.push(someValue);
To my surprise, this code actually worked, despite my belief that the list would remain constant. This led me to question: Why? What is the benefit of declaring the list as constant if it ends up being altered anyway?