summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/annexB/language/expressions/template-literal/legacy-octal-escape-sequence-non-strict.js
blob: 20ecbcc80bc80a1da6d32392f7d621f1d309ef37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 12.2.8
description: >
    The expression within the template should be evaluated according to the
    semantics of the surrounding context.
    The SV of EscapeSequence :: HexEscapeSequence is the SV of the
    HexEscapeSequence.
flags: [noStrict]
---*/

assert.sameValue(`${'\07'}`, '\u0007');

reportCompare(0, 0);