The const option makes values stay constant which it doesn’t change, for example :
const hens=4;
hens=4
Consts is used to store the value if pi or days of the week.
VAR is the old variable keyword which was used before let and const as it was out way of declaring variables. There‘s no real reason to use it anymore.
留言