DEV Community

Paolo Ventura
Paolo Ventura

Posted on

JS Definitive Guide Ch. 1

As I enjoy this book I will leave quick reviews for each chapter, hopefully sharing a bit of my thoughts 🚀🚀🚀

Ch. 1 Introduction to Javascript

His comment syntax is cool explaining:
=> the statement returns something
! the statement throws an exception
== means reassignment of the variable after the statement

Even cooler the tests for this book run off that comment syntax

?. Conditional operator returns undefined if it could not access that property.

Functions are declared whereas methods are accessed on the object.

Top comments (0)