bug_OS12095746.js 814 B

1234567891011121314151617
  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. import("bug_OS12095746_mod0.js")
  6. .then((m)=>{ console.log('mod0 fail'); })
  7. .catch((e)=>{ console.log("mod0 catch:"+e.message); });
  8. import('bug_OS12095746_mod1.js')
  9. .then((m)=>{ console.log('mod1 fail'); })
  10. .catch((e)=>{
  11. console.log('mod1 catch:'+e.message);
  12. import('bug_OS12095746_mod2.js')
  13. .then((m)=>{ print('mod2 fail'); })
  14. .catch((e)=>{ print('mod2 catch:'+e.message); });
  15. });