0

what is 'this keyword representing in the following code'?

function changeColor() { const color = document.getElementById("colorPicker").value; this.style.background = color; }

1st Apr 2020, 7:16 PM
Ismail Al-Nuaimi
Ismail Al-Nuaimi - avatar
3 Antworten
0
thank you so much Jay W!
1st Apr 2020, 8:41 PM
Ismail Al-Nuaimi
Ismail Al-Nuaimi - avatar