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

Photo by Glenn Carstens-Peters on Unsplash

EcmaScript 2015 (aka ES6) has been around for couple of years now, and various new features can be used in clever ways. I wanted to list and discuss some of them, since I think you’ll find them useful.

If you know of other tips, please let me know in the comment and I’ll be happy to add them.

1. Enforcing required parameters

--

--

--

Trying to make Web development simple. Former Developer Advocate @Salesforce, VMware (node.js); Engineer @ Yahoo, Zimbra. Twitter: @rajaraodv

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Building realtime React Applications using Reactron

Angular: Supercharging The Router

Next.js vs React

Website network load optimization tip

Revolutionise the Way You Write Docs with Marked.js

Form Validations and Other Cool Stuff with Angular ngModel $parsers and $formatters

Maintaining REST API Documentation with Node.js — Part I

What is the JavaScript NodeIterator API?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
rajaraodv

rajaraodv

Trying to make Web development simple. Former Developer Advocate @Salesforce, VMware (node.js); Engineer @ Yahoo, Zimbra. Twitter: @rajaraodv

More from Medium

How To Learn Javascript Faster And Effectively

How to Configure Commitlint and Generate Useful CHANGELOGs From Git Commit Messages

How to Build an RSS Feed

3 Ways to Improve JavaScript Applications