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]
--- |
4251 |
bigint-and-boolean.js |
---
description: Relational comparison of BigInt and boolean values
esid: sec-abstract-relational-comparison
features: [BigInt]
--- |
1333 |
bigint-and-incomparable-string.js |
---
description: Relational comparison of BigInt and string values
esid: sec-abstract-relational-comparison
features: [BigInt]
--- |
1804 |
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]
--- |
1632 |
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]
--- |
3810 |
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]
--- |
2592 |
bigint-and-string.js |
---
description: Relational comparison of BigInt and string values
esid: sec-abstract-relational-comparison
features: [BigInt]
--- |
2994 |
bigint-and-symbol.js |
---
description: Relational comparison of BigInt and Symbol values
esid: sec-abstract-relational-comparison
features: [BigInt, Symbol]
--- |
489 |
browser.js |
|
0 |
S11.8.1_A1.js |
---
info: |
White Space and Line Terminator between RelationalExpression and "<" or
between "<" and ShiftExpression are allowed
es5id: 11.8.1_A1
description: Checking by using eval
--- |
1716 |
S11.8.1_A2.1_T1.js |
---
info: Operator x < y uses GetValue
es5id: 11.8.1_A2.1_T1
description: Either Type is not Reference or GetBase is not null
--- |
1020 |
S11.8.1_A2.1_T2.js |
---
info: Operator x < y uses GetValue
es5id: 11.8.1_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
541 |
S11.8.1_A2.1_T3.js |
---
info: Operator x < y uses GetValue
es5id: 11.8.1_A2.1_T3
description: If GetBase(y) is null, throw ReferenceError
--- |
541 |
S11.8.1_A2.2_T1.js |
---
info: Operator x < y uses [[Default Value]]
es5id: 11.8.1_A2.2_T1
description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
--- |
3250 |
S11.8.1_A2.3_T1.js |
---
info: |
ToNumber(first expression) is called first, and then ToNumber(second
expression)
es5id: 11.8.1_A2.3_T1
description: Checking with "throw"
--- |
987 |
S11.8.1_A2.4_T1.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.1_A2.4_T1
description: Checking with "="
--- |
528 |
S11.8.1_A2.4_T2.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.1_A2.4_T2
description: Checking with "throw"
--- |
881 |
S11.8.1_A2.4_T3.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.1_A2.4_T3
description: Checking with undeclarated variables
--- |
593 |
S11.8.1_A2.4_T4.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.1_A2.4_T4
description: Checking with undeclarated variables
flags: [noStrict]
--- |
424 |
S11.8.1_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.1_A3.1_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
boolean and Boolean object
--- |
941 |
S11.8.1_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.1_A3.1_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
number and Number object
--- |
883 |
S11.8.1_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.1_A3.1_T1.3
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
Undefined
--- |
859 |
S11.8.1_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.1_A3.1_T2.1
description: >
Type(Primitive(x)) is different from Type(Primitive(y)) and both
types are Number (primitive or object) or Boolean (primitive and
object)
--- |
1427 |
S11.8.1_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.1_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)
--- |
1592 |
S11.8.1_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.1_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
--- |
887 |
S11.8.1_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.1_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
--- |
936 |
S11.8.1_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.1_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)
--- |
1469 |
S11.8.1_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.1_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
--- |
952 |
S11.8.1_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.1_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
--- |
903 |
S11.8.1_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.1_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
--- |
965 |
S11.8.1_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.1_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
--- |
916 |
S11.8.1_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.1_A3.2_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
string and String object
--- |
1087 |
S11.8.1_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.1_A3.2_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Object
object and Function object
--- |
1302 |
S11.8.1_A4.1.js |
---
info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.1_A4.1
description: y is number primitive
--- |
1245 |
S11.8.1_A4.2.js |
---
info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.1_A4.2
description: x is number primitive
--- |
1245 |
S11.8.1_A4.3.js |
---
info: If x and y are the same number value, return false
es5id: 11.8.1_A4.3
description: x and y are number primitives
--- |
1173 |
S11.8.1_A4.4.js |
---
info: If x and y are +0 and -0, return false
es5id: 11.8.1_A4.4
description: Checking all combinations
--- |
638 |
S11.8.1_A4.5.js |
---
info: If x is +Infinity, return false
es5id: 11.8.1_A4.5
description: y is number primitive
--- |
1080 |
S11.8.1_A4.6.js |
---
info: If y is +Infinity and x !== y, return true
es5id: 11.8.1_A4.6
description: x is number primitive
--- |
1079 |
S11.8.1_A4.7.js |
---
info: If x is -Infinity and x !== y, return true
es5id: 11.8.1_A4.7
description: y is number primitive
--- |
1079 |
S11.8.1_A4.8.js |
---
info: If y is -Infinity, return false
es5id: 11.8.1_A4.8
description: x is number primitive
--- |
1080 |
S11.8.1_A4.9.js |
---
info: |
If x is less than y and these values are both finite non-zero, return
true; otherwise, return false
es5id: 11.8.1_A4.9
description: x and y are number primitives
--- |
1207 |
S11.8.1_A4.10.js |
---
info: If y is a prefix of x, return false
es5id: 11.8.1_A4.10
description: x and y are string primitives
--- |
923 |
S11.8.1_A4.11.js |
---
info: If x is a prefix of y and x !== y, return true
es5id: 11.8.1_A4.11
description: x and y are string primitives
--- |
1148 |
S11.8.1_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.1_A4.12_T1
description: x and y are string primitives
--- |
1237 |
S11.8.1_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.1_A4.12_T2
description: x and y are string primitives
--- |
1101 |
shell.js |
|
0 |