const x = 'xxx';
xy = x + 'yyy';
xy = xy.toUpperCase();
console.log(xy); // => XXXYYY
- Why is it possible to assign a value to
xywithout definingxyfirst? - Is
xya variable or a constant? - If
xyis a constant, then why is it possible to assign it a new (uppercase) value?