bigint-and-bigint.js |
---
description: Comparisons of BigInt and BigInt values
esid: sec-abstract-relational-comparison
info: |
...
3. If both px and py are Strings, then
...
4. Else,
a. Let nx be ? ToNumeric(px). Because px and py are primitive values evaluation order is not important.
b. Let ny be ? ToNumeric(py).
c. If Type(nx) is Type(ny), return ? Type(nx)::lessThan(nx, ny).
sec-numeric-types-bigint-lessThan
BigInt::lessThan (x, y)
The abstract operation BigInt::lessThan with two arguments x and y of BigInt type returns true if x is less than y and false otherwise.
features: [BigInt]
--- |
4307 |
bigint-and-incomparable-string.js |
---
description: Relational comparison of BigInt and string values
esid: sec-abstract-relational-comparison
features: [BigInt]
--- |
1844 |
bigint-and-non-finite.js |
---
description: Comparisons of BigInt and non-finite Number values
esid: sec-abstract-relational-comparison
info: |
...
3. If both px and py are Strings, then
...
4. Else,
a. Let nx be ? ToNumeric(px). Because px and py are primitive values evaluation order is not important.
b. Let ny be ? ToNumeric(py).
c. If Type(nx) is Type(ny), return ? Type(nx)::lessThan(nx, ny).
d. Assert: Type(nx) is BigInt and Type(ny) is Number, or if Type(nx) is Number and Type(ny) is BigInt.
e. If x or y are any of NaN, return undefined.
f. If x is -∞, or y is +∞, return true.
g. If x is +∞, or y is -∞, return false.
features: [BigInt]
--- |
1652 |
bigint-and-number-extremes.js |
---
description: Comparisons of large BigInt and Number values
esid: sec-abstract-relational-comparison
info: |
...
3. If both px and py are Strings, then
...
4. Else,
a. Let nx be ? ToNumeric(px). Because px and py are primitive values evaluation order is not important.
b. Let ny be ? ToNumeric(py).
c. If Type(nx) is Type(ny), return ? Type(nx)::lessThan(nx, ny).
d. Assert: Type(nx) is BigInt and Type(ny) is Number, or if Type(nx) is Number and Type(ny) is BigInt.
e. If x or y are any of NaN, return undefined.
f. If x is -∞, or y is +∞, return true.
g. If x is +∞, or y is -∞, return false.
h. If the mathematical value of nx is less than the mathematical value of ny, return true, otherwise return false.
features: [BigInt]
--- |
3835 |
bigint-and-number.js |
---
description: Comparisons of BigInt and Number values
esid: sec-abstract-relational-comparison
info: |
...
3. If both px and py are Strings, then
...
4. Else,
a. Let nx be ? ToNumeric(px). Because px and py are primitive values evaluation order is not important.
b. Let ny be ? ToNumeric(py).
c. If Type(nx) is Type(ny), return ? Type(nx)::lessThan(nx, ny).
d. Assert: Type(nx) is BigInt and Type(ny) is Number, or if Type(nx) is Number and Type(ny) is BigInt.
e. If x or y are any of NaN, return undefined.
f. If x is -∞, or y is +∞, return true.
g. If x is +∞, or y is -∞, return false.
h. If the mathematical value of nx is less than the mathematical value of ny, return true, otherwise return false.
features: [BigInt]
--- |
2638 |
bigint-and-string.js |
---
description: Relational comparison of BigInt and string values
esid: sec-abstract-relational-comparison
features: [BigInt]
--- |
2316 |
browser.js |
|
0 |
S11.8.4_A1.js |
---
info: |
White Space and Line Terminator between RelationalExpression and "=>" or
"=>" and ShiftExpression are allowed
es5id: 11.8.4_A1
description: Checking by using eval
--- |
1730 |
S11.8.4_A2.1_T1.js |
---
info: Operator x >= y uses GetValue
es5id: 11.8.4_A2.1_T1
description: Either Type is not Reference or GetBase is not null
--- |
1031 |
S11.8.4_A2.1_T2.js |
---
info: Operator x >= y uses GetValue
es5id: 11.8.4_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
546 |
S11.8.4_A2.1_T3.js |
---
info: Operator x >= y uses GetValue
es5id: 11.8.4_A2.1_T3
description: If GetBase(y) is null, throw ReferenceError
--- |
546 |
S11.8.4_A2.2_T1.js |
---
info: Operator x >= y uses [[Default Value]]
es5id: 11.8.4_A2.2_T1
description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
--- |
3279 |
S11.8.4_A2.3_T1.js |
---
info: |
ToNumber(first expression) is called first, and then ToNumber(second
expression)
es5id: 11.8.4_A2.3_T1
description: Checking with "throw"
--- |
991 |
S11.8.4_A2.4_T1.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.4_A2.4_T1
description: Checking with "="
--- |
532 |
S11.8.4_A2.4_T2.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.4_A2.4_T2
description: Checking with "throw"
--- |
885 |
S11.8.4_A2.4_T3.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.4_A2.4_T3
description: Checking with undeclarated variables
--- |
597 |
S11.8.4_A2.4_T4.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.4_A2.4_T4
description: Checking with undeclarated variables
flags: [noStrict]
--- |
424 |
S11.8.4_A3.1_T1.1.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
boolean and Boolean object
--- |
943 |
S11.8.4_A3.1_T1.2.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
number and Number object
--- |
885 |
S11.8.4_A3.1_T1.3.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T1.3
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
Undefined
--- |
867 |
S11.8.4_A3.1_T2.1.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.1
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between Number (primitive or object) and Boolean
(primitive and object)
--- |
1439 |
S11.8.4_A3.1_T2.2.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.2
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between Number (primitive or object) and String
(primitive and object)
--- |
1598 |
S11.8.4_A3.1_T2.3.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.3
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between Number (primitive or object) and Null
--- |
897 |
S11.8.4_A3.1_T2.4.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.4
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between Number (primitive or object) and Undefined
--- |
946 |
S11.8.4_A3.1_T2.5.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.5
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between String (primitive or object) and Boolean
(primitive and object)
--- |
1471 |
S11.8.4_A3.1_T2.6.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.6
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between String (primitive or object) and Undefined
--- |
962 |
S11.8.4_A3.1_T2.7.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.7
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between String (primitive or object) and Null
--- |
913 |
S11.8.4_A3.1_T2.8.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.8
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between Boolean (primitive or object) and Undefined
--- |
975 |
S11.8.4_A3.1_T2.9.js |
---
info: |
If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
then operator x >= y returns ToNumber(x) >= ToNumber(y)
es5id: 11.8.4_A3.1_T2.9
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types vary between Boolean (primitive or object) and Null
--- |
926 |
S11.8.4_A3.2_T1.1.js |
---
info: |
Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x))
is String and Type(Primitive(y)) is String
es5id: 11.8.4_A3.2_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
string and String object
--- |
1093 |
S11.8.4_A3.2_T1.2.js |
---
info: |
Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x))
is String and Type(Primitive(y)) is String
es5id: 11.8.4_A3.2_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Object
object and Function object
--- |
1320 |
S11.8.4_A4.1.js |
---
info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.4_A4.1
description: y is number primitive
--- |
1261 |
S11.8.4_A4.2.js |
---
info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.4_A4.2
description: x is number primitive
--- |
1261 |
S11.8.4_A4.3.js |
---
info: If x and y are the same number value, return true
es5id: 11.8.4_A4.3
description: x and y are number primitives
--- |
1172 |
S11.8.4_A4.4.js |
---
info: If either x or y is +0 and the other is -0, return true
es5id: 11.8.4_A4.4
description: Checking all combinations
--- |
655 |
S11.8.4_A4.5.js |
---
info: If x is +Infinity, return true
es5id: 11.8.4_A4.5
description: y is number primitive
--- |
1079 |
S11.8.4_A4.6.js |
---
info: If y is +Infinity and x !== y, return false
es5id: 11.8.4_A4.6
description: x is number primitive
--- |
1104 |
S11.8.4_A4.7.js |
---
info: If x is -Infinity and x !== y, return false
es5id: 11.8.4_A4.7
description: y is number primitive
--- |
1104 |
S11.8.4_A4.8.js |
---
info: If y is -Infinity, return true
es5id: 11.8.4_A4.8
description: x is number primitive
--- |
1079 |
S11.8.4_A4.9.js |
---
info: |
If x is greater or equal than y and these values are both finite
non-zero, return true; otherwise, return false
es5id: 11.8.4_A4.9
description: x and y are number primitives
--- |
1235 |
S11.8.4_A4.10.js |
---
info: If x is a prefix of y and x !== y, return false
es5id: 11.8.4_A4.10
description: x and y are string primitives
--- |
947 |
S11.8.4_A4.11.js |
---
info: If y is a prefix of x, return true
es5id: 11.8.4_A4.11
description: x and y are string primitives
--- |
1147 |
S11.8.4_A4.12_T1.js |
---
info: |
If neither x, nor y is a prefix of each other, returned result of strings
comparison applies a simple lexicographic ordering to the sequences of
code point value values
es5id: 11.8.4_A4.12_T1
description: x and y are string primitives
--- |
1252 |
S11.8.4_A4.12_T2.js |
---
info: |
If neither x, nor y is a prefix of each other, returned result of strings
comparison applies a simple lexicographic ordering to the sequences of
code point value values
es5id: 11.8.4_A4.12_T2
description: x and y are string primitives
--- |
1115 |
shell.js |
|
0 |