volume_mute

Way of assigning values JavaScript variables

publish date: 2022/09/05 01:24:00 GMT+10

It is possible in JavaScript to write two consecutive assignment statements like that

list = [10.2, 3.5];

list = 47;

 

Reference

Concepts of Programming languages, 10th ed


Quizzes you can take where this question appears