| What is the meaning of the following line of code?
const pi=3.14;
(1)It is exactly the same as var.
(2)Const turns variables into constants, and they can’t be changed.
(3)It is used to define math-related variables
(4)It is exactly the same as let.
Answer:-(2)Const turns variables into constants, and they can’t be changed. | | |