JavaScript 中“===”运算符的名称是什么

What is the name of "===" operator in JavaScript

我想知道 === 运算符是否有广泛认可的名称。 (function () {})();

类似 "IIFE"

通常称为严格等于

I was wondering if there is widely recognized name for === operator.

我最常听到的名字是严格相等运算符严格等于运算符。事实证明,可以说,它具有这两个名称:

旧规范称它为 strict equals operator:

11.9.4 The Strict Equals Operator ( === )

The production EqualityExpression : EqualityExpression === RelationalExpression is evaluated as follows: ...

奇怪的是,它从未在新规范中实际命名,但最接近的是 here:

7.2.13 Strict Equality Comparison

The comparison x === y, where x and y are values, produces true or false. Such a comparison is performed as follows:...