| 15.5.5.5.2-1-1.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-1-1
description: >
String object supports bracket notation to lookup of data
properties
--- |
494 |
- |
| 15.5.5.5.2-1-2.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-1-2
description: String value supports bracket notation to lookup data properties
--- |
473 |
- |
| 15.5.5.5.2-3-1.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-1
description: >
String object indexing returns undefined for missing data
properties
--- |
491 |
- |
| 15.5.5.5.2-3-2.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-2
description: String value indexing returns undefined for missing data properties
--- |
476 |
- |
| 15.5.5.5.2-3-3.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-3
description: >
String object indexing returns undefined if the numeric index
(NaN) is not an array index
--- |
507 |
- |
| 15.5.5.5.2-3-4.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-4
description: >
String object indexing returns undefined if the numeric index
(Infinity) is not an array index
--- |
522 |
- |
| 15.5.5.5.2-3-5.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-5
description: >
String object indexing returns undefined if the numeric index (
2^32-1) is not an array index
--- |
541 |
- |
| 15.5.5.5.2-3-6.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-6
description: >
String value indexing returns undefined if the numeric index (NaN)
is not an array index
--- |
502 |
- |
| 15.5.5.5.2-3-7.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-7
description: >
String value indexing returns undefined if the numeric index
(Infinity) is not an array index
--- |
517 |
- |
| 15.5.5.5.2-3-8.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-3-8
description: >
String value indexing returns undefined if the numeric index ( >=
2^32-1) is not an array index
--- |
539 |
- |
| 15.5.5.5.2-7-1.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-7-1
description: >
String object indexing returns undefined if the numeric index is
less than 0
--- |
492 |
- |
| 15.5.5.5.2-7-2.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-7-2
description: >
String value indexing returns undefined if the numeric index is
less than 0
--- |
487 |
- |
| 15.5.5.5.2-7-3.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-7-3
description: >
String object indexing returns undefined if the numeric index is
greater than the string length
--- |
511 |
- |
| 15.5.5.5.2-7-4.js |
---
info: |
15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
notation to look up non numeric property names.
es5id: 15.5.5.5.2-7-4
description: >
String value indexing returns undefined if the numeric index is
greater than the string length
--- |
506 |
- |
| fromCharCode |
|
|
- |
| fromCodePoint |
|
|
- |
| length.js |
---
esid: sec-properties-of-string-instances-length
es6id: 21.1.4.1
description: The "length" property of String objects
info: |
[...]
4. Return ? StringCreate(s, ? GetPrototypeFromConstructor(NewTarget,
"%StringPrototype%")).
includes: [propertyHelper.js]
--- |
873 |
- |
| numeric-properties.js |
---
esid: sec-string-exotic-objects-getownproperty-p
es6id: 9.4.3.1
description: >
Property descriptor for numeric "own" properties of an exotic String object
info: |
[...]
12. Let resultStr be a String value of length 1, containing one code unit
from str, specifically the code unit at index index.
13. Return a PropertyDescriptor{[[Value]]: resultStr, [[Writable]]: false,
[[Enumerable]]: true, [[Configurable]]: false}.
includes: [propertyHelper.js]
--- |
1016 |
- |
| proto-from-ctor-realm.js |
---
esid: sec-string-constructor-string-value
es6id: 21.1.1.1
description: Default [[Prototype]] value derived from realm of the newTarget
info: |
[...]
4. Return ? StringCreate(s, ? GetPrototypeFromConstructor(NewTarget,
"%StringPrototype%")).
9.1.14 GetPrototypeFromConstructor
[...]
3. Let proto be ? Get(constructor, "prototype").
4. If Type(proto) is not Object, then
a. Let realm be ? GetFunctionRealm(constructor).
b. Let proto be realm's intrinsic object named intrinsicDefaultProto.
[...]
features: [cross-realm, Reflect]
--- |
930 |
- |
| prototype |
|
|
- |
| raw |
|
|
- |
| S8.12.8_A1.js |
---
info: |
This should generate a TypeError,
Cause we overload toString method so it return non Primitive value
See ECMA reference at http://bugzilla.mozilla.org/show_bug.cgi?id=167325
es5id: 8.12.8_A1
description: Try to overload toString method
--- |
830 |
- |
| S8.12.8_A2.js |
---
info: |
This should generate no TypeError,
Cause we overload toString method so it return non Primitive value
but we overloaded valueOf method too.
See ECMA reference at http://bugzilla.mozilla.org/show_bug.cgi?id=167325
es5id: 8.12.8_A2
description: >
Try to overload toString, that returned new Object, and valueOf
methods
--- |
993 |
- |
| S9.1_A1_T2.js |
---
info: |
Result of primitive conversion from object is a default value for the
Object
es5id: 9.1_A1_T2
description: >
Using operator Number. This operator calls ToPrimitive with hint
Number
--- |
942 |
- |
| S9.8.1_A1.js |
---
info: If m is NaN, return the string "NaN"
es5id: 9.8.1_A1
description: NaN convert to String by explicit transformation
--- |
665 |
- |
| S9.8.1_A2.js |
---
info: If m is +0 or -0, return the string "0"
es5id: 9.8.1_A2
description: +0 and -0 convert to String by explicit transformation
--- |
477 |
- |
| S9.8.1_A3.js |
---
info: |
If m is less than zero, return the string concatenation of the
string "-" and ToString(-m)
es5id: 9.8.1_A3
description: -1234567890 convert to String by explicit transformation
--- |
659 |
- |
| S9.8.1_A4.js |
---
info: If m is infinity, return the string "Infinity"
es5id: 9.8.1_A4
description: +/-Infinity convert to String by explicit transformation
--- |
919 |
- |
| S9.8.1_A6.js |
---
info: |
If 1 <= s < 1e21 or -1e21 s < -1, return the string
consisting of the k digits of the decimal representation of s (in order,
with no leading zeroes), followed by n-k occurrences of the character '0'
es5id: 9.8.1_A6
description: >
Various integer numbers convert to String by explicit
transformation
--- |
2629 |
- |
| S9.8.1_A7.js |
---
info: |
If 1 <= s < 1e21 or -1e21 s < -1 and s has a fractional
component, return the string consisting of the most significant n digits of
the decimal representation of s, followed by a decimal point '.',
followed by the remaining k-n digits of the decimal representation of s
es5id: 9.8.1_A7
description: >
1.0000001 and -1.0000001 convert to String by explicit
transformation
--- |
829 |
- |
| S9.8.1_A8.js |
---
info: |
If 1 > s > -1, and -6 < n <= 0, return the string consisting of the
character '0', followed by a decimal point '.', followed by -n occurrences
of the character '0', followed by the k digits of the decimal
representation of s
es5id: 9.8.1_A8
description: Various float numbers convert to String by explicit transformation
--- |
1474 |
- |
| S9.8.1_A9_T1.js |
---
info: |
Return the string consisting of the single digit of s,
followed by lowercase character 'e', followed by a plus sign '+' or minus
sign '-' according to whether n-1 is positive or negative, followed by the
decimal representation of the integer abs(n-1) (with no leading zeros)
es5id: 9.8.1_A9_T1
description: Various big numbers convert to String by explicit transformation
--- |
2203 |
- |
| S9.8.1_A9_T2.js |
---
info: |
Return the string consisting of the single digit of s,
followed by lowercase character 'e', followed by a plus sign '+' or minus
sign '-' according to whether n-1 is positive or negative, followed by the
decimal representation of the integer abs(n-1) (with no leading zeros)
es5id: 9.8.1_A9_T2
description: >
Various float numbers with many zeros convert to String by
explicit transformation
--- |
2151 |
- |
| S9.8.1_A10.js |
---
info: |
Return the string consisting of the most significant
digit of the decimal representation of s, followed by a decimal point '.',
followed by the remaining k-1 digits of the decimal representation of s,
followed by the lowercase character 'e', followed by a plus sign '+' or
minus sign '-' according to whether n-1 is positive or negative, followed
by the decimal representation of the integer abs(n-1) (with no leading zeros)
es5id: 9.8.1_A10
description: Various float numbers convert to String by explicit transformation
--- |
1943 |
- |
| S9.8_A1_T1.js |
---
info: Result of ToString conversion from undefined value is "undefined"
es5id: 9.8_A1_T1
description: >
Undefined values is undefined, void 0 and eval("var x"). Use
explicit transformation
--- |
760 |
- |
| S9.8_A2_T1.js |
---
info: Result of ToString conversion from null value is "null"
es5id: 9.8_A2_T1
description: null convert to String by explicit transformation
--- |
400 |
- |
| S9.8_A3_T1.js |
---
info: |
Result of ToString conversion from boolean value is "true" if
the argument is "true", else is "false"
es5id: 9.8_A3_T1
description: True and false convert to String by explicit transformation
--- |
584 |
- |
| S9.8_A4_T1.js |
---
info: |
Result of String conversion from string value is the input argument (no
conversion)
es5id: 9.8_A4_T1
description: Some strings convert to String with explicit transformation
--- |
614 |
- |
| S9.8_A5_T1.js |
---
info: |
Result of String conversion from Object value is conversion
from primitive value
es5id: 9.8_A5_T1
description: Some objects convert to String by explicit transformation
--- |
2690 |
- |
| S15.5.1.1_A1_T1.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T1
description: Call String(function(){}())
--- |
982 |
- |
| S15.5.1.1_A1_T2.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T2
description: Call String(null)
--- |
931 |
- |
| S15.5.1.1_A1_T3.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T3
description: Call String(void 0)
--- |
949 |
- |
| S15.5.1.1_A1_T4.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T4
description: Call String(undefined)
--- |
961 |
- |
| S15.5.1.1_A1_T5.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T5
description: Call String(x), where x is undefined variable
--- |
982 |
- |
| S15.5.1.1_A1_T6.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T6
description: Checking by using eval, Call String(eval());
--- |
974 |
- |
| S15.5.1.1_A1_T7.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T7
description: Call String({})
--- |
955 |
- |
| S15.5.1.1_A1_T8.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T8
description: Call String(new Array)
--- |
1259 |
- |
| S15.5.1.1_A1_T9.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T9
description: Call String(this)
--- |
1033 |
- |
| S15.5.1.1_A1_T10.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T10
description: Call String(1) and String(-1)
--- |
1536 |
- |
| S15.5.1.1_A1_T11.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T11
description: Call String(1/0) and String(-1/0), and call with +/-Infinity
--- |
4268 |
- |
| S15.5.1.1_A1_T12.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T12
description: Call String(1/"a"), String("b"* null) and String(Number.NaN)
--- |
2240 |
- |
| S15.5.1.1_A1_T13.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T13
description: Call String(true) and String(false)
--- |
2865 |
- |
| S15.5.1.1_A1_T14.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T14
description: Call String(0) and String(-0)
--- |
1534 |
- |
| S15.5.1.1_A1_T15.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T15
description: Call String(string_object)
--- |
717 |
- |
| S15.5.1.1_A1_T16.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T16
description: Call String() with .12345 and analogous numbers
--- |
2898 |
- |
| S15.5.1.1_A1_T17.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T17
description: >
Call String() with numbers that have more than 1 significant digit
after point
--- |
2359 |
- |
| S15.5.1.1_A1_T18.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T18
description: Call String() with numbers that have more than 1 significant digit
--- |
1713 |
- |
| S15.5.1.1_A1_T19.js |
---
info: |
When String is called as a function rather than as a constructor, it
performs a type conversion
es5id: 15.5.1.1_A1_T19
description: Call String() with Array of numbers
--- |
990 |
- |
| S15.5.1.1_A2_T1.js |
---
info: If value is not supplied, the empty string "" is returned
es5id: 15.5.1.1_A2_T1
description: Call String()
--- |
859 |
- |
| S15.5.2.1_A1_T1.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T1
description: Creating string object with expression "new String"
--- |
1675 |
- |
| S15.5.2.1_A1_T2.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T2
description: Creating string object with "new String()"
--- |
1675 |
- |
| S15.5.2.1_A1_T3.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T3
description: Creating string object with "new String("")"
--- |
1687 |
- |
| S15.5.2.1_A1_T4.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T4
description: Create string object with "new String(1.0)"
--- |
1452 |
- |
| S15.5.2.1_A1_T5.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T5
description: Creating string object with "new String(NaN)"
--- |
1464 |
- |
| S15.5.2.1_A1_T6.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T6
description: Creating string object with "new String(false)"
--- |
1468 |
- |
| S15.5.2.1_A1_T7.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T7
description: Creating string object with "new String({})"
--- |
1713 |
- |
| S15.5.2.1_A1_T8.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T8
description: Creating string object with "new String(function(){})"
--- |
1776 |
- |
| S15.5.2.1_A1_T9.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T9
description: >
Creating string object with "new String(function(){return
[1,2,3]}())"
--- |
1596 |
- |
| S15.5.2.1_A1_T10.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T10
description: >
Creating string object with "new String(function object)" as the
function object's prototype.toString property was changed
--- |
1669 |
- |
| S15.5.2.1_A1_T11.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T11
description: >
Creating string object with "new String(function object)" after
changing function object's valueOf and toString properties
--- |
1707 |
- |
| S15.5.2.1_A1_T12.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T12
description: >
Creating string object with "new String(function object)", after
changing the function object toString property, which causes
exception throw
--- |
1143 |
- |
| S15.5.2.1_A1_T13.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T13
description: >
Creating string object with "new String(function object)" after
changing function object's valueOf property, which causes
exception throw
--- |
1157 |
- |
| S15.5.2.1_A1_T16.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T16
description: >
Creating string object with "new String()" initialized with .12345
and other numbers
--- |
4487 |
- |
| S15.5.2.1_A1_T17.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T17
description: >
Creating string object with "new String()" initialized with
numbers that have more than 1 significant digit following the point
--- |
3626 |
- |
| S15.5.2.1_A1_T18.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T18
description: >
Create string object with "new String()" initialized with numbers
that have more than 1 significant digit
--- |
2639 |
- |
| S15.5.2.1_A1_T19.js |
---
info: |
When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
The [[Value]] property of the newly constructed object is set to ToString(value), or to the empty string if value is not supplied
es5id: 15.5.2.1_A1_T19
description: >
Creating string object with "new String()" initialized with Array
of numbers
--- |
1549 |
- |
| S15.5.2.1_A2_T1.js |
---
info: |
The [[Prototype]] property of the newly constructed object is set to the
original String prototype object
es5id: 15.5.2.1_A2_T1
description: Creating string object with "new String(string)" to check prototype
--- |
739 |
- |
| S15.5.2.1_A2_T2.js |
---
info: |
The [[Prototype]] property of the newly constructed object is set to the
original String prototype object
es5id: 15.5.2.1_A2_T2
description: >
Creating string object with "new String(string)" adding custom
property
--- |
1306 |
- |
| S15.5.2.1_A3.js |
---
info: The [[Class]] property of the newly constructed object is set to "String"
es5id: 15.5.2.1_A3
description: >
Creating string object with "new String(string)" and changing
toString property to Object.prototype.toString
--- |
911 |
- |
| S15.5.3_A1.js |
---
info: String has length property whose value is 1
es5id: 15.5.3_A1
description: Checking String.length
--- |
548 |
- |
| S15.5.3_A2_T1.js |
---
info: |
The value of the internal [[Prototype]] property of the String
constructor is the Function prototype object
es5id: 15.5.3_A2_T1
description: Checking Function.prototype.isPrototypeOf(String)
--- |
700 |
- |
| S15.5.3_A2_T2.js |
---
info: |
The value of the internal [[Prototype]] property of the String
constructor is the Function prototype object
es5id: 15.5.3_A2_T2
description: Add custom property to Function.prototype and check it at String
--- |
729 |
- |
| S15.5.5.1_A1.js |
---
info: |
length property contains the number of characters in the String value
represented by this String object
es5id: 15.5.5.1_A1
description: Create strings and check its length
--- |
1252 |
- |
| S15.5.5.1_A2.js |
---
info: length property has the attributes {DontEnum}
es5id: 15.5.5.1_A2
description: Checking if enumerating the length property of String fails
--- |
1036 |
- |
| S15.5.5.1_A3.js |
---
info: length property has the attributes {DontDelete}
es5id: 15.5.5.1_A3
description: Checking if deleting the length property of String fails
includes: [propertyHelper.js]
--- |
1661 |
- |
| S15.5.5.1_A4_T1.js |
---
info: length property has the attributes {ReadOnly}
es5id: 15.5.5.1_A4_T1
description: Checking if varying the length property of String fails
flags: [noStrict]
--- |
2508 |
- |
| S15.5.5.1_A4_T2.js |
---
info: length property has the attributes {ReadOnly}
es5id: 15.5.5.1_A4_T2
description: Checking if varying the length property of String fails
includes: [propertyHelper.js]
--- |
1601 |
- |
| S15.5.5.1_A5.js |
---
info: Once a String object is created, the length property is unchanging
es5id: 15.5.5.1_A5
description: >
Change valueOf and toString of String object and check length
property
--- |
1822 |
- |
| S15.5.5_A1_T1.js |
---
info: String instance has not [[call]] property
es5id: 15.5.5_A1_T1
description: Create new String and try call it
--- |
684 |
- |
| S15.5.5_A1_T2.js |
---
info: String instance has not [[call]] property
es5id: 15.5.5_A1_T2
description: Checking if creating new "String("a|b")()" fails
--- |
670 |
- |
| S15.5.5_A2_T1.js |
---
info: String instance has not [[construct]] property
es5id: 15.5.5_A2_T1
description: Create new string object and try new created_string
--- |
721 |
- |
| S15.5.5_A2_T2.js |
---
info: String instance has not [[construct]] property
es5id: 15.5.5_A2_T2
description: Checking if creating "new String" fails
--- |
666 |
- |
| symbol-string-coercion.js |
---
esid: sec-string-constructor
es6id: 21.1.1
description: Symbol value may be coerced to a String
info: |
1. If no arguments were passed to this function invocation, let s be "".
2. Else,
a. If NewTarget is undefined and Type(value) is Symbol, return
SymbolDescriptiveString(value).
features: [Symbol]
--- |
687 |
- |
| symbol-wrapping.js |
---
esid: sec-string-constructor
es6id: 21.1.1
description: Symbol value may not be wrapped
info: |
1. If no arguments were passed to this function invocation, let s be "".
2. Else,
a. If NewTarget is undefined and Type(value) is Symbol, return
SymbolDescriptiveString(value).
b. Let s be ? ToString(value).
features: [Symbol]
--- |
588 |
- |