We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78cdb2d commit fe13cdcCopy full SHA for fe13cdc
2 files changed
tests/baselines/reference/templateStringWithEmbeddedCommentsES6.js
@@ -13,4 +13,14 @@ middle${
13
tail`;
14
15
//// [templateStringWithEmbeddedCommentsES6.js]
16
-"head" + 10 + "\nmiddle" + 20 + "\ntail";
+`head${ // single line comment
17
+10}
18
+middle${
19
+/* Multi-
20
+ * line
21
+ * comment
22
+ */
23
+20
24
+// closing comment
25
+}
26
+tail`;
tests/baselines/reference/templateStringWithEmbeddedYieldKeyword.js
@@ -6,7 +6,7 @@ function* gen {
6
7
8
//// [templateStringWithEmbeddedYieldKeyword.js]
9
-function gen() {
+function* gen() {
10
// Once this is supported, yield *must* be parenthesized.
11
var x = "abc" + (yield 10) + "def";
12
}
0 commit comments