Constant values can be mutated, they just can't be reassigned
const arr = [1,2,3]
// doesn't work:
arr = [1,2,3,4]
// works:
arr.push(4)
const name = "bashiru"
const b = 1; // this variable unique and can't change it.
const myBirthday = '18.04.1982';
const PI = 3.141592653589793;
PI = 3.14; // This will give an error
PI = PI + 10; // This will also give an error
const x = 5;
x = 10; // Error! constant cannot be changed.
console.log(x)
const value = 10;
const constant = value;
const my_const = "doc"
console.log(my_const)
const example1 = "hello this is string variable" ; //this is string constant
const example2 = 12345 ; //this is numeric constant
const example3 = true ; //boolean constant