document.querySelectorAll('.num').forEach(n => n.innerText *= 2);
[ -(2 ** 30), 2 ** 30 )
), то можно и без оператора умножения обойтись:for (const n of document.getElementsByClassName('num')) {
n.textContent <<= 1;
}
$attachment = array(
'filepath' => 'README.txt'
);
drupal_mail('system', 'mail', 'mail@gmail.com', language_default(), array(
'context' => array(
'subject' => 'Some subject',
'message' => 'Some message',
),
'attachments' => array($attachment),
));