16 JavaScript best practices to improve your code quality
THREAD 🧵:
Before we proceed,
"Programs must be written for people to read, and only incidentally for machines to execute."
—Unknown
{ 1 } Optional Chaining
The optional chaining operator (?.) enables you to read the value of a property located deep within a chain of connected objects without having to check that each reference in the chain is valid.