1.

What is the meaning of the following line of code?

Answer»

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.



Discussion

No Comment Found