Skip to main content
5 events
when toggle format what by license comment
Feb 28, 2018 at 17:19 comment added Anders Yes, your code fixes it for me as well.
Feb 28, 2018 at 15:17 comment added user4639281 @NikxDa Internet Explorer doesn't support Array.from, but it is correct to say that slice is not needed. Array.prototype.forEach.call(NodeList, callback); works fine.
Feb 28, 2018 at 15:16 history edited user4639281 CC BY-SA 3.0
No need to call slice. ForEach can be called directly.
Feb 28, 2018 at 12:53 comment added NikxDa Why exactly are you using slice? Just doing Array.from (document.querySelectorAll ()) will work as well, won't it?
Feb 28, 2018 at 3:55 history answered Decoy CC BY-SA 3.0