The weirdness of type coercions in JavaScript explained In this article I will explain how the type coercions work in JavaScript and why they are so weird. This article will mostly discuss the loose comparisons and some basic type coercions. 20/04/2025