string-interpolation.expect.txt 774 B

123456789
  1. <span class="hljs-keyword">var</span> istr = <span class="hljs-string">$"{{Hello}},\n<span class="hljs-subst">{<span class="hljs-string">$"\"<span class="hljs-subst">{nested}</span>\""</span> + <span class="hljs-string">@" and "</span> + <span class="hljs-string">$@"""<span class="hljs-subst">{nested}</span>"""</span> <span class="hljs-comment">/*comments*/</span> }</span>"</span>;
  2. <span class="hljs-keyword">var</span> ivstr = <span class="hljs-string">$@"{{Hello}},
  3. <span class="hljs-subst">{
  4. <span class="hljs-string">$"\"<span class="hljs-subst">{nested}</span>\""</span> + <span class="hljs-string">@"
  5. and
  6. "</span> + <span class="hljs-string">$@"
  7. ""<span class="hljs-subst">{nested}</span>""
  8. "</span>
  9. <span class="hljs-comment">/*comments*/</span> }</span>"</span>;