Hacker News new | ask | show | jobs
by phponpcp 2689 days ago
Then this breaks in older browsers because forEach isn't a method on a NodeList. So you have to polyfill in features to do [...document.querySelectorAll('.tpm_sensors')].forEach(...);