nullByte-string.js 573 B

1234567891011
  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. console.log("before null byte");
  6. // cannot print this string as part of the test because of Microsoft/ChakraCore#4410
  7. let str = "null byte between quotes '�'";
  8. console.log("after null byte");