mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.23k stars 22.5k forks source link

Modify the semantics of the == operator for Number and BigInt types #36891

Closed sunkai9064 closed 4 days ago

sunkai9064 commented 4 days ago

Description

As title

Motivation

numeric is the type representation in ECMAScript. It is more appropriate to quote the original mathematical value here.

Additional details

Quoted from ecma262's description:

A conversion from a Number or BigInt x to a mathematical value is denoted as "the mathematical value of x", or ℝ(x).

github-actions[bot] commented 4 days ago

Preview URLs

(comment last updated: 2024-11-21 05:33:48)