https://note.com/dotinstall/n/nc0feca3bda82
li.textContent=selectedColors;
上のコードで、selectedColorsが配列なのにもかかわらず、li.textContentは文字列として表示されます。 その理由が分かりません。
selectedColors
li.textContent
この回答を見るにはプレミアムプランへの登録が必要です