CrossContextSpreadfunctionCall.js 670 B

123456789
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. var CrossContextSpreadTestFunction = this.WScript.LoadScriptFile("CrossContextSpreadFunction.js", "samethread");
  6. var CrossContextSpreadArguments = this.WScript.LoadScriptFile("CrossContextSpreadArguments.js", "samethread");
  7. CrossContextSpreadTestFunction.foo(...CrossContextSpreadArguments.a);