SuperUndoDeferIssue.js 637 B

12345678910111213141516171819
  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 obj = {
  6. mSloppy() {
  7. try {
  8. super[
  9. __v_12000] = 55;
  10. } catch (__v_12004) {
  11. }
  12. try {
  13. } catch (__v_12005) {
  14. }
  15. }
  16. };
  17. // There shouldn't be any SyntaxError
  18. print("PASSED");