D
Size: a a a
D
ДD
Д
TP
const selectElem = document.getElementById('select')
const pElem = document.getElementById('p')
selectElem.addEventListener('change', () => {
const value = selectElem.value;
pElem.innerHTML = 'selectedIndex: ' + value;
})MI
DK
MI
D
Д
const selectElem = document.getElementById('select')
const pElem = document.getElementById('p')
selectElem.addEventListener('change', () => {
const value = selectElem.value;
pElem.innerHTML = 'selectedIndex: ' + value;
})DK
MI
LH
var x = "";
promise.then(function(arg)) { x = arg; }
return x;
LH
LH
D
var x = "";
promise.then(function(arg)) { x = arg; }
return x;
D
LH
D
AM