Bug517864.js 522 B

123456789101112
  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 deferredWithRegex() {
  6. return /[\uD800\uDC00\uFFFF]/.test("\uFFFF");
  7. }
  8. if (deferredWithRegex()) {
  9. WScript.Echo("Pass");
  10. }