You are viewing a single comment's thread.

view the rest of the comments →

0
0

[–] Revisor [S] ago 

I don't know how much Pale Moon supports ES6. I used two ES6 features: template literals

`Expand (${postsToExpand.length})`

and arrow functions

el => el.click()

forEach() is an ES5 feature

All three can be easily rewritten for the cost of being slightly longer and less readable.