11.8.3-1.js |
---
es5id: 11.8.3-1
description: >
11.8.3 Less-than-or-equal Operator - Partial left to right order
enforced when using Less-than-or-equal operator: valueOf <= valueOf
--- |
652 |
11.8.3-2.js |
---
es5id: 11.8.3-2
description: >
11.8.3 Less-than-or-equal Operator - Partial left to right order
enforced when using Less-than-or-equal operator: valueOf <=
toString
--- |
658 |
11.8.3-3.js |
---
es5id: 11.8.3-3
description: >
11.8.3 Less-than-or-equal Operator - Partial left to right order
enforced when using Less-than-or-equal operator: toString <=
valueOf
--- |
658 |
11.8.3-4.js |
---
es5id: 11.8.3-4
description: >
11.8.3 Less-than-or-equal Operator - Partial left to right order
enforced when using Less-than-or-equal operator: toString <=
toString
--- |
660 |
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 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]
--- |
3830 |
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]
--- |
2639 |
bigint-and-string.js |
---
description: Relational comparison of BigInt and string values
esid: sec-abstract-relational-comparison
features: [BigInt]
--- |
2324 |
browser.js |
|
0 |
S11.8.3_A1.js |
---
info: |
White Space and Line Terminator between RelationalExpression and "<=" or
between "<=" and ShiftExpression are allowed
es5id: 11.8.3_A1
description: Checking by using eval
--- |
1736 |
S11.8.3_A2.1_T1.js |
---
info: Operator x <= y uses GetValue
es5id: 11.8.3_A2.1_T1
description: Either Type is not Reference or GetBase is not null
--- |
1031 |
S11.8.3_A2.1_T2.js |
---
info: Operator x <= y uses GetValue
es5id: 11.8.3_A2.1_T2
description: If GetBase(x) is null, throw ReferenceError
--- |
546 |
S11.8.3_A2.1_T3.js |
---
info: Operator x <= y uses GetValue
es5id: 11.8.3_A2.1_T3
description: If GetBase(y) is null, throw ReferenceError
--- |
546 |
S11.8.3_A2.2_T1.js |
---
info: Operator x <= y uses [[Default Value]]
es5id: 11.8.3_A2.2_T1
description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
--- |
3279 |
S11.8.3_A2.3_T1.js |
---
info: In ES5, First expression should be evaluated first.
es5id: 11.8.3_A2.3_T1
description: Checking that operands of a "<=" evaluate left-to-right
--- |
718 |
S11.8.3_A2.4_T1.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.3_A2.4_T1
description: Checking with "="
--- |
532 |
S11.8.3_A2.4_T2.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.3_A2.4_T2
description: Checking with "throw"
--- |
885 |
S11.8.3_A2.4_T3.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.3_A2.4_T3
description: Checking with undeclarated variables
--- |
597 |
S11.8.3_A2.4_T4.js |
---
info: First expression is evaluated first, and then second expression
es5id: 11.8.3_A2.4_T4
description: Checking with undeclarated variables
flags: [noStrict]
--- |
424 |
S11.8.3_A3.1_T1.1.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_A3.1_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
boolean and Boolean object
--- |
938 |
S11.8.3_A3.1_T1.2.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_A3.1_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
number and Number object
--- |
880 |
S11.8.3_A3.1_T1.3.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_A3.1_T1.3
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
Undefined
--- |
862 |
S11.8.3_A3.1_T2.1.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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)
--- |
1434 |
S11.8.3_A3.1_T2.2.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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)
--- |
1593 |
S11.8.3_A3.1_T2.3.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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
--- |
892 |
S11.8.3_A3.1_T2.4.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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
--- |
941 |
S11.8.3_A3.1_T2.5.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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)
--- |
1466 |
S11.8.3_A3.1_T2.6.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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
--- |
957 |
S11.8.3_A3.1_T2.7.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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
--- |
908 |
S11.8.3_A3.1_T2.8.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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
--- |
970 |
S11.8.3_A3.1_T2.9.js |
---
info: |
Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
is not String or Type(Primitive(y)) is not String
es5id: 11.8.3_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
--- |
921 |
S11.8.3_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.3_A3.2_T1.1
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
string and String object
--- |
1093 |
S11.8.3_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.3_A3.2_T1.2
description: >
Type(Primitive(x)) and Type(Primitive(y)) vary between Object
object and Function object
--- |
1320 |
S11.8.3_A4.1.js |
---
info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.3_A4.1
description: y is number primitive
--- |
1261 |
S11.8.3_A4.2.js |
---
info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
es5id: 11.8.3_A4.2
description: x is number primitive
--- |
1261 |
S11.8.3_A4.3.js |
---
info: If x and y are the same number value, return true
es5id: 11.8.3_A4.3
description: x and y are number primitives
--- |
1172 |
S11.8.3_A4.4.js |
---
info: If either x or y is +0 and the other is -0, return true
es5id: 11.8.3_A4.4
description: Checking all combinations
--- |
655 |
S11.8.3_A4.5.js |
---
info: If x is +Infinity and x !== y, return false
es5id: 11.8.3_A4.5
description: y is number primitive
--- |
1104 |
S11.8.3_A4.6.js |
---
info: If y is +Infinity and x !== y, return true
es5id: 11.8.3_A4.6
description: x is number primitive
--- |
1091 |
S11.8.3_A4.7.js |
---
info: If x is -Infinity, return true
es5id: 11.8.3_A4.7
description: y is number primitive
--- |
1079 |
S11.8.3_A4.8.js |
---
info: If y is -Infinity and x !== y, return false
es5id: 11.8.3_A4.8
description: x is number primitive
--- |
1104 |
S11.8.3_A4.9.js |
---
info: |
If x is less or equal than y and these values are both finite non-zero,
return true; otherwise, return false
es5id: 11.8.3_A4.9
description: x and y are number primitives
--- |
1232 |
S11.8.3_A4.10.js |
---
info: If y is a prefix of x and x !== y, return false
es5id: 11.8.3_A4.10
description: x and y are string primitives
--- |
947 |
S11.8.3_A4.11.js |
---
info: If x is a prefix of y, return true
es5id: 11.8.3_A4.11
description: x and y are string primitives
--- |
1148 |
S11.8.3_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.3_A4.12_T1
description: x and y are string primitives
--- |
1251 |
S11.8.3_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.3_A4.12_T2
description: x and y are string primitives
--- |
1115 |
shell.js |
|
0 |