0

Is asignment Operator only works with variables?

18th Aug 2020, 2:13 AM
Himanshu Rai
Himanshu Rai - avatar
6 odpowiedzi
+ 12
Assignment operators also work with constants. const a = 10; var b = 11; I think it is not used more than that.
18th Aug 2020, 2:44 AM
ツSampriya😘ツ
ツSampriya😘ツ - avatar
0
Okk thanks
18th Aug 2020, 2:48 AM
Himanshu Rai
Himanshu Rai - avatar
0
Arvind Kumar No. Variables declared with keyword var can be reassigned. Whereas constants are declared with keyword const.
18th Aug 2020, 11:59 AM
Himanshu Rai
Himanshu Rai - avatar
18th Aug 2020, 4:49 PM
Himanshu Rai
Himanshu Rai - avatar