mirror of
https://github.com/tc39/test262.git
synced 2025-07-17 02:54:37 +02:00
Fix annex B tests
This commit is contained in:
parent
05d1ddf670
commit
6f59ddc457
@ -4,24 +4,18 @@
|
|||||||
/*---
|
/*---
|
||||||
esid: sec-string.prototype.trimLeft
|
esid: sec-string.prototype.trimLeft
|
||||||
description: >
|
description: >
|
||||||
String.prototype.trimLeft.name is "trimLeft".
|
String.prototype.trimLeft.name is "trimStart".
|
||||||
info: >
|
info: >
|
||||||
String.prototype.trimLeft ( )
|
String.prototype.trimLeft ( )
|
||||||
|
|
||||||
17 ECMAScript Standard Built-in Objects:
|
The function object that is the initial value of String.prototype.trimLeft is the same function object that is the initial value of String.prototype.trimStart.
|
||||||
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]
|
includes: [propertyHelper.js]
|
||||||
features: [string-trimming]
|
features: [string-trimming,String.prototype.trimStart]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
verifyProperty(String.prototype.trimLeft, "name", {
|
verifyProperty(String.prototype.trimLeft, "name", {
|
||||||
value: "trimLeft",
|
value: "trimStart",
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
writable: false,
|
writable: false,
|
||||||
configurable: true,
|
configurable: true,
|
||||||
|
@ -4,24 +4,17 @@
|
|||||||
/*---
|
/*---
|
||||||
esid: sec-string.prototype.trimRight
|
esid: sec-string.prototype.trimRight
|
||||||
description: >
|
description: >
|
||||||
String.prototype.trimRight.name is "trimRight".
|
String.prototype.trimRight.name is "trimEnd".
|
||||||
info: >
|
info: >
|
||||||
String.prototype.trimRight ( )
|
String.prototype.trimRight ( )#
|
||||||
|
|
||||||
17 ECMAScript Standard Built-in Objects:
|
The function object that is the initial value of String.prototype.trimRight is the same function object that is the initial value of String.prototype.trimEnd.
|
||||||
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]
|
includes: [propertyHelper.js]
|
||||||
features: [string-trimming]
|
features: [string-trimming,String.prototype.trimEnd]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
verifyProperty(String.prototype.trimRight, "name", {
|
verifyProperty(String.prototype.trimRight, "name", {
|
||||||
value: "trimRight",
|
value: "trimEnd",
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
writable: false,
|
writable: false,
|
||||||
configurable: true,
|
configurable: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user