Why are constants considered variables?

Often in taking the JavaScript courses, I have come across text about variables labeled with the keyword const. Why is this? I thought the keyword const made it a constant rather than a variable. Why not just call constants constants and variables variables? It seems very inefficient to say ‘create a variable x with the keyword const’, rather than ‘create a constant x’ all the time.

I suppose because they function very similarly to variables (in terms how they interact with the computer and rest of the program). Also, if you have a mutable data type, like an array, you can still change aspects of that array:

const x = [1, 2, 3, 4, 5];
x[0] = 2;
//output: [2, 2, 3, 4, 5]