| 1234567891011121314151617181920212223242526 |
- //-------------------------------------------------------------------------------------------------------
- // Copyright (C) Microsoft. All rights reserved.
- // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
- //-------------------------------------------------------------------------------------------------------
- WScript.LoadScriptFile('copy-prop-stack-slot-test-framework.js');
- var tc=new TestCase();
- tc.id="38";
- tc.desc="Enumerate arguments";
- tc.test=function(){
- var actualContent = "";
- var actualIndex = "";
- function testArgument() {
- for (var a in arguments) {
- actualContent += arguments[a];
- actualIndex += a;
- }
- }
- testArgument(12,13,14,15);
- WScript.Echo(actualContent);
- WScript.Echo(actualIndex);
- }
- tc.AddTest();
- Run();
|