legacy-octal-escape-sequence-non-strict.js (468B)
1 // Copyright (C) 2014 the V8 project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 /*--- 4 es6id: 12.2.8 5 description: > 6 The expression within the template should be evaluated according to the 7 semantics of the surrounding context. 8 The SV of EscapeSequence :: HexEscapeSequence is the SV of the 9 HexEscapeSequence. 10 flags: [noStrict] 11 ---*/ 12 13 assert.sameValue(`${'\07'}`, '\u0007'); 14 15 reportCompare(0, 0);