We precisely discussed templates on es-discuss tonight. If I believe what I just read on [1], you will be able to write:
foo = `A Multiline String` —Claude [1] http://www.slideshare.net/domenicdenicola/es6-the-awesome-parts/23 Le 7 mars 2014 à 08:21, Florian Bösch <[email protected]> a écrit : > I'm sorry if that's been asked before (I looked trough the archives trough to > 2012 and couldn't find a thread on it). > > Are there any plans on adding multiline strings? > > Some examples of multiline strings below. > > Lua: > foo = [[A > Multiline > String]] > > Python: > foo = '''A > Multiline > String''' > > Coffeescript: > foo = '''A > Multiline > String''' > > Dart: > foo = ''''A > Multiline > String''' > > C++11: > foo = R"bar(A > Multiline > String)bar"; > > Ruby: > foo = 'A > Multiline > String' > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

