3 ms·
You're right. I wasn't sure earlier, as I was typing on a phone with no JS console. but never mind: Array.forEach.call(paragraphs, function(paragraph){paragra
by nailer 14y ago
You're right. I wasn't sure earlier, as I was typing on a phone with no JS console.
but never mind:
Array.forEach.call(paragraphs, function(paragraph){paragraph.innerHTML = 'Hello.';})
will work fine.