mirror of
https://github.com/tc39/test262.git
synced 2025-07-03 04:04:42 +02:00
14 lines
403 B
JavaScript
14 lines
403 B
JavaScript
// Copyright (C) Copyright 2014 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
es6id: 11.8.6
|
|
description: >
|
|
The TV of TemplateCharacter :: \ EscapeSequence is the SV of
|
|
EscapeSequence.
|
|
---*/
|
|
assert.sameValue(`foo
|
|
bar
|
|
baz`, 'foo\n bar\n baz');
|
|
|
|
assert.sameValue(eval('`foo\r\n bar\r baz`'), 'foo\n bar\n baz');
|