mirror of https://github.com/tc39/test262.git
String.prototype.split: Add features meta data
This commit is contained in:
parent
7a56df1119
commit
d9a6a03ffc
|
@ -7,6 +7,7 @@ info: |
|
|||
1. If _limit_ is *undefined*, let _lim_ be 2<sup>32</sup> - 1; else let _lim_ be ? ToUint32(_limit_).
|
||||
1. Let _R_ be ? ToString(_separator_).
|
||||
1. If _lim_ = 0, return _A_.
|
||||
features: [Symbol, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
||||
function ExpectedError(message) {
|
||||
|
|
|
@ -10,6 +10,7 @@ info: |
|
|||
1. If _splitter_ is not *undefined*, then
|
||||
1. Return ? Call(_splitter_, _separator_, « _O_, _limit_ »).
|
||||
1. Let _S_ be ? ToString(_O_).
|
||||
features: [Symbol, Symbol.split, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
||||
function ExpectedError(message) {
|
||||
|
|
Loading…
Reference in New Issue