Codewars 7 kyu Thinkful - Object Drills: Quarks JavaScript

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

hey thanks for the video, my question is why doesnt this work?

interact(quark){
this.color = quark.color;
};

can we not reassign a property like this? and why not? why does it have to be [this.color, quark.color] = [quark.color, this.color]

junaidahmed
join shbcf.ru