missingInlineeEnd.js 519 B

123456789101112131415161718192021222324
  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. function bar() {
  6. foo();
  7. }
  8. function foo() {
  9. for (v8; 10; 0) {
  10. }
  11. }
  12. try{
  13. bar()
  14. }catch(ex){
  15. }
  16. try{
  17. bar()
  18. }catch(ex){
  19. }
  20. WScript.Echo("Passed");