sketchpad

A collection of personal and technical notes.

View the Project on GitHub arantebw/sketchpad

JavaScript

2022/12/03

The choices you make about how to write your program matter -- not only to
you, but to your other team members and even to your future self.

– Kyle Simpson, YDKJS

Coercion

Coercion a.k.a. “type casting” to other languages.

Types of coercion:

If loosely comparing (==) two literals, JavaScript will coerce the left-side of the expression before comparing it to the right-side of the expression.