diff options
Diffstat (limited to 'test/built-ins/global/S10.2.3_A2.2_T1.js')
-rw-r--r-- | test/built-ins/global/S10.2.3_A2.2_T1.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/global/S10.2.3_A2.2_T1.js b/test/built-ins/global/S10.2.3_A2.2_T1.js index 7de8a86ae..427a4bcf5 100644 --- a/test/built-ins/global/S10.2.3_A2.2_T1.js +++ b/test/built-ins/global/S10.2.3_A2.2_T1.js @@ -11,13 +11,13 @@ flags: [noStrict] function test() { //CHECK#1 for (var x in this) { - if ( x === 'NaN' ) { + if (x === 'NaN') { $ERROR("#1: 'NaN' have attribute DontEnum"); - } else if ( x === 'Infinity' ) { + } else if (x === 'Infinity') { $ERROR("#1: 'Infinity' have attribute DontEnum"); - } else if ( x === 'undefined' ) { + } else if (x === 'undefined') { $ERROR("#1: 'undefined' have attribute DontEnum"); - } + } } } |