20 JavaScript Short-Hands You Need to Know in 2021

PJ Codes
JavaScript in Plain English
6 min readMay 18, 2021

--

An important ingredient for a successful project is productivity — that’s exactly what these JavaScript short-hands will increase. Let’s dive in.

Photo by Pankaj Patel on Unsplash

(Not in order of importance)

1) Optional Chaining

How many times (?) have you tried to access a nested property on an object to check whether or not it exists — and…

--

--