Javascript add element to array conditionally July 8, 2019 16 32 64 128 How to add classlist in javascript Javascript array of objects filter