Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

multiline string support #14478

Closed
eromoe opened this issue Aug 16, 2016 · 1 comment
Closed

multiline string support #14478

eromoe opened this issue Aug 16, 2016 · 1 comment

Comments

@eromoe
Copy link

eromoe commented Aug 16, 2016

Because I need use evaluateJavaScript which only accept string, but my script has multiline.

In es6 , node 4, below code work:

var str = `Some 
    String 
    Here`;

But phantomjs only support:

var str = "Some \
    String \
    Here";
@ariya
Copy link
Owner

ariya commented Aug 25, 2016

Please track ES6 support in #14506. Thank you!

@ariya ariya closed this as completed Aug 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants