2015-04-15 10:36:09 -04:00

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');