mirror of https://github.com/tc39/test262.git
Clean up formatting (indents)
This commit is contained in:
parent
8d8bdc1f92
commit
e6712e0d16
|
@ -10,7 +10,7 @@ description: >
|
||||||
(false)
|
(false)
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var desc = Object.getOwnPropertyDescriptor(this, 'undefined');
|
var desc = Object.getOwnPropertyDescriptor(this, 'undefined');
|
||||||
|
|
||||||
assert.sameValue(desc.writable, false, 'desc.writable');
|
assert.sameValue(desc.writable, false, 'desc.writable');
|
||||||
assert.sameValue(desc.enumerable, false, 'desc.enumerable');
|
assert.sameValue(desc.enumerable, false, 'desc.enumerable');
|
||||||
|
|
|
@ -11,6 +11,6 @@ description: >
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var newProperty = undefined = 42;
|
var newProperty = undefined = 42;
|
||||||
|
|
||||||
assert.sameValue(newProperty, 42, 'newProperty');
|
assert.sameValue(newProperty, 42, 'newProperty');
|
||||||
|
|
|
@ -12,6 +12,6 @@ description: Use for-in statement
|
||||||
// CHECK#1
|
// CHECK#1
|
||||||
for (var prop in this) {
|
for (var prop in this) {
|
||||||
if (prop === "undefined") {
|
if (prop === "undefined") {
|
||||||
$ERROR('#1: The undefined is DontEnum');
|
$ERROR('#1: The undefined is DontEnum');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue