GH
Size: a a a
GH
GH
block.querySelector('h3').textContent.match(/\d+/g)[0]
GH
block.querySelector('h4').textContent.match(/\d+/g)[0]
GH
S
block.querySelector('h4').textContent.match(/\d+/g)[0]
(block.querySelector('h3') || block.querySelector('h4')).textContent.match(/\d+/g)[0]
KS
let element = null;
['h3', 'h4', 'h1'].some(el => {
res = document.querySelector(el)
if (res) {
element = res.textContent.match(/\d+/g)[0]
return true
}
return false
})
O
АЗ
O
АЗ
O
KS
O
KS
O
KS
function fn(a1, a2, a3, a4) {...};
const bindFn = fn.bind(null, 1, 2);
bindFn.apply(context, 3, 4);
O
function fn(a1, a2, a3, a4) {...};
const bindFn = fn.bind(null, 1, 2);
bindFn.apply(context, 3, 4);
i
CM
O