Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (! Object.getOwnPropertyDescriptor(NodeList.prototype, 'forEach')) {
- Object.defineProperty(NodeList.prototype, 'forEach', Object.getOwnPropertyDescriptor(Array.prototype, 'forEach'));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement