diff options
Diffstat (limited to 'test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js')
-rw-r--r-- | test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js index 542175c02..d1f4ee984 100644 --- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js +++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-5.js @@ -1,14 +1,16 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-5.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: finally, return, void
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Allow reserved words as property names by dot operator assignment, + verified with hasOwnProperty: finally, return, void +includes: [runTestCase.js] +---*/ + function testcase() {
var tokenCodes = {};
tokenCodes.finally = 0;
@@ -30,4 +32,4 @@ function testcase() { }
return true;
}
-runTestCase(testcase);
+runTestCase(testcase); |