argument_bigint.js |
---
esid: sec-escape-string
description: Input is a BigInt
info: |
B.2.1.1 escape ( string )
1. Let string be ? ToString(string).
...
features: [BigInt]
--- |
393 |
argument_types.js |
---
esid: sec-escape-string
description: Input is a null, undefined, boolean or Number
info: |
B.2.1.1 escape ( string )
1. Let string be ? ToString(string).
...
--- |
822 |
browser.js |
|
0 |
empty-string.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Input is the empty string
info: |
1. Let string be ? ToString(string).
2. Let length be the number of code units in string.
3. Let R be the empty string.
4. Let k be 0.
5. Repeat, while k < length,
[...]
6. Return R.
--- |
507 |
escape-above-astral.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Escaping of code units above 255 from string with extended Unicode escape sequence
info: |
[...]
5. Repeat, while k < length,
a. Let char be the code unit (represented as a 16-bit unsigned integer)
at index k within string.
[...]
c. Else if char ≥ 256, then
i. Let S be a String containing six code units "%uwxyz" where wxyz
are the code units of the four uppercase hexadecimal digits
encoding the value of char.
[...]
--- |
854 |
escape-above.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Escaping of code units above 255
info: |
[...]
5. Repeat, while k < length,
a. Let char be the code unit (represented as a 16-bit unsigned integer)
at index k within string.
[...]
c. Else if char ≥ 256, then
i. Let S be a String containing six code units "%uwxyz" where wxyz
are the code units of the four uppercase hexadecimal digits
encoding the value of char.
[...]
--- |
976 |
escape-below.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Escaping of code units below 255
info: |
[...]
5. Repeat, while k < length,
a. Let char be the code unit (represented as a 16-bit unsigned integer)
at index k within string.
[...]
d. Else char < 256,
i. Let S be a String containing three code units "%xy" where xy are
the code units of two uppercase hexadecimal digits encoding the
value of char.
[...]
--- |
1438 |
length.js |
---
es6id: B.2.1.1
description: >
escape.length is 1.
info: |
escape (string)
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form “...name”
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1031 |
name.js |
---
es6id: B.2.1.1
description: >
escape.name is "escape".
info: |
escape (string)
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
796 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
escape does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, arrow-function]
--- |
847 |
prop-desc.js |
---
es5id: B.2.1
description: >
Object.getOwnPropertyDescriptor returns data desc for functions on
built-ins (Global.escape)
includes: [propertyHelper.js]
--- |
531 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
to-primitive-err.js |
---
esid: sec-escape-string
description: If [Symbol.toPrimitive] method returned an object, it should throw a TypeError
info: |
B.2.1.1 escape ( string )
1. Let string be ? ToString(string).
...
features: [Symbol.toPrimitive]
--- |
659 |
to-primitive-observe.js |
---
esid: sec-escape-string
description: Observable operations from string coercion
info: |
B.2.1.1 escape ( string )
1. Let string be ? ToString(string).
...
features: [Symbol.toPrimitive]
--- |
605 |
to-string-err-symbol.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Abrupt completion from `ToString` operation (Symbol value)
info: |
1. Let string be ? ToString(string).
features: [Symbol]
--- |
428 |
to-string-err.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Abrupt completion from `ToString` operation
info: |
1. Let string be ? ToString(string).
--- |
453 |
to-string-observe.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Observable operations from string coercion
info: |
1. Let string be ? ToString(string).
--- |
842 |
unmodified.js |
---
esid: sec-escape-string
es6id: B.2.1.1
description: Do not escape a specific set of characters
info: |
[...]
5. Repeat, while k < length,
a. Let char be the code unit (represented as a 16-bit unsigned integer)
at index k within string.
b. If char is one of the code units in
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@*_+-./",
then
i. Let S be a String containing the single code unit char.
[...]
--- |
804 |