JS Spec debunking for toPrimitive on an object
Let's say we have an object by the variable name of obj and ToPrimitive abstract method has been called on it implicitly. This implicit call happens when you do a comparison like this - obj == 5 || false == obj etc. Basically when one of the operand...
Jun 26, 20212 min read59
