11.8.2-1.js |
---
es5id: 11.8.2-1
description: >
11.8.2 Greater-than Operator - Partial left to right order
enforced when using Greater-than operator: valueOf > valueOf
--- |
633 |
11.8.2-2.js |
---
es5id: 11.8.2-2
description: >
11.8.2 Greater-than Operator - Partial left to right order
enforced when using Greater-than operator: valueOf > toString
--- |
635 |
11.8.2-3.js |
---
es5id: 11.8.2-3
description: >
11.8.2 Greater-than Operator - Partial left to right order
enforced when using Greater-than operator: toString > valueOf
--- |
639 |
11.8.2-4.js |
---
es5id: 11.8.2-4
description: >
11.8.2 Greater-than Operator - Partial left to right order
enforced when using Greater-than operator: toString > toString
--- |
641 |
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 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]
--- |
3804 |
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]
--- |
2593 |
bigint-and-string.js |
---
description: Relational comparison of BigInt and string values
esid: sec-abstract-relational-comparison
features: [BigInt]
--- |
2986 |
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.2_A1.js |
---
info: |
White Space and Line Terminator between RelationalExpression and ">" or
">" and ShiftExpression are allowed
es5id: 11.8.2_A1
description: Checking by using eval
--- |
1726 |
S11.8.2_A2.1_T1.js |
---
info: Operator x > y uses GetValue
es5id: 11.8.2_A2.1_T1
description: Either Type is not Reference or GetBase is not null
--- |
1020 |
S11.8.2_A2.1_T2.js |
---
info: Operator x > y uses GetValue
es5id: 11.8.2_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
541 |
S11.8.2_A2.1_T3.js |
---
info: Operator x > y uses GetValue
es5id: 11.8.2_A2.1_T3
description: If GetBase(y) is null, throw ReferenceError
--- |
541 |
S11.8.2_A2.2_T1.js |
---
info: Operator x > y uses [[Default Value]]
es5id: 11.8.2_A2.2_T1
description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
--- |
3250 |
S11.8.2_A2.3_T1.js |
---
info: In ES5, First expression should be evaluated first.
es5id: 11.8.2_A2.3_T1
description: Checking that operands of a "<" evaluate left-to-right
--- |
716 |
S11.8.2_A2.4_T1.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.2_A2.4_T1
description: Checking with "="
--- |
528 |
S11.8.2_A2.4_T2.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.2_A2.4_T2
description: Checking with "throw"
--- |
881 |
S11.8.2_A2.4_T3.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.2_A2.4_T3
description: Checking with undeclarated variables
--- |
593 |
S11.8.2_A2.4_T4.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.2_A2.4_T4
description: Checking with undeclarated variables
flags: [noStrict]
--- |
424 |
S11.8.2_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.2_A3.1_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
boolean and Boolean object
--- |
941 |
S11.8.2_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.2_A3.1_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
number and Number object
--- |
883 |
S11.8.2_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.2_A3.1_T1.3
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
Undefined
--- |
859 |
S11.8.2_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.2_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)
--- |
1437 |
S11.8.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_A3.2_T1.1.js |
---
info: |
If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then
operator x > y returns ToString(x) > ToString(y)
es5id: 11.8.2_A3.2_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
string and String object
--- |
1092 |
S11.8.2_A3.2_T1.2.js |
---
info: |
If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then
operator x > y returns ToString(x) > ToString(y)
es5id: 11.8.2_A3.2_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Object
object and Function object
--- |
1307 |
S11.8.2_A4.1.js |
---
info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.2_A4.1
description: y is number primitive
--- |
1245 |
S11.8.2_A4.2.js |
---
info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.2_A4.2
description: x is number primitive
--- |
1245 |
S11.8.2_A4.3.js |
---
info: If x and y are the same number value, return false
es5id: 11.8.2_A4.3
description: x and y are number primitives
--- |
1173 |
S11.8.2_A4.4.js |
---
info: If either variable x or y is +0 and the other is -0, return false
es5id: 11.8.2_A4.4
description: Checking all combinations
--- |
665 |
S11.8.2_A4.5.js |
---
info: If x is +Infinity and x !== y, return true
es5id: 11.8.2_A4.5
description: y is number primitive
--- |
1079 |
S11.8.2_A4.6.js |
---
info: If y is +Infinity, return false
es5id: 11.8.2_A4.6
description: x is number primitive
--- |
1080 |
S11.8.2_A4.7.js |
---
info: If x is -Infinity, return false
es5id: 11.8.2_A4.7
description: y is number primitive
--- |
1080 |
S11.8.2_A4.8.js |
---
info: If y is -Infinity and x !== y, return true
es5id: 11.8.2_A4.8
description: x is number primitive
--- |
1079 |
S11.8.2_A4.9.js |
---
info: |
If is x greater than y and these values are both finite non-zero, return
true; otherwise, return false
es5id: 11.8.2_A4.9
description: x and y are number primitives
--- |
1210 |
S11.8.2_A4.10.js |
---
info: If x is a prefix of y, return false
es5id: 11.8.2_A4.10
description: x and y are string primitives
--- |
923 |
S11.8.2_A4.11.js |
---
info: If y is a prefix of x and x !== y, return true
es5id: 11.8.2_A4.11
description: x and y are string primitives
--- |
1147 |
S11.8.2_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.2_A4.12_T1
description: x and y are string primitives
--- |
1238 |
S11.8.2_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.2_A4.12_T2
description: x and y are string primitives
--- |
1101 |
shell.js |
|
0 |