This is a guest post by Hemanth H.M and was originally published on H3manth.com.

Here is a collection of ES6 one liners to show off!

NodeList to Array:

Explore Javascript Training Courses

Unique Arrays:

Destructuring:

Swap like a snake:

Max in array?:

List comprehension:

_map?

Object.isz!

Is it a hidden file?:

Repeat with me:

If you are using some, please do let me know!

Hope it blew your mind! 😉

blew

The following two tabs change content below.

Hemanth H.M

Hemanth is a Computer Polyglot, CLI + WEB ♥'r who writes at h3manth.com.

Latest posts by Hemanth H.M (see all)