The ECMAScript specification for "abstract equality comparison" (==
) has changed between the 6.0 and 9.0 versions, adding an !
character in front of the ToNumber
calls in some of the components of the comparison. Can someone tell me why ECMAScript has added this to the spec? It's so confusing.
Here's the version of the spec from 6.0:
And here's how the spec has changed in 9.0:
What motivated this change? What does it mean?