{} + [] is not 0
The thing to keep in mind about coercing objects like arrays to primitives, is they usually become strings first. So coercing an empty object to a number goes like this:+
![{} + [] is not 0](https://www.coodingdessign.com/wp-content/uploads/2021/03/L1Jv9z_CdhuUDsnK0YlcfZ3yQNyNxOm4SL5n3wDXrgk.jpg)
The thing to keep in mind about coercing objects like arrays to primitives, is they usually become strings first. So coercing an empty object to a number goes like this:+