Check out these useful ECMAScript 2015 (ES6) tips and tricks

PHOTO EMBED

Mon Mar 01 2021 04:06:17 GMT+0000 (Coordinated Universal Time)

Saved by @MattMoniz #javascript

var filtered = [...mySet].filter((x) => x > 3) // [4, 5]
content_copyCOPY

https://www.freecodecamp.org/news/check-out-these-useful-ecmascript-2015-es6-tips-and-tricks-6db105590377/