First numeric or bigint value
Second numeric or bigint value
-1 if a < b, 0 if a === b, or 1 if a > b
Performs a three-way comparison between two numbers or two bigints.
First numeric or bigint value
Second numeric or bigint value
-1 if a < b, 0 if a === b, or 1 if a > b
Performs a three-way comparison between two numbers or two bigints.