withBug940841.js 517 B

123456789101112131415161718
  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 i = 0;
  6. while (i < 3)
  7. {
  8. (function ()
  9. {
  10. with ({})
  11. {
  12. __proto__;
  13. }
  14. })();
  15. i++;
  16. }
  17. WScript.Echo("PASS");