JsDiagGetScripts.js 640 B

1234567891011
  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 global = WScript.LoadScript("", "samethread", "dummyFileName.js");
  6. eval('var x = "code in eval"');
  7. eval('eval(\'var y = "Eval inside eval"\');');
  8. var func = new Function("a", "b", "return a + b;");
  9. var x = 1;/**bp:dumpSourceList();**/
  10. WScript.Echo("pass");