We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d73f7f commit b41fb8fCopy full SHA for b41fb8f
examples/prism-javascript.html
@@ -49,7 +49,7 @@ <h2>A division operator on the same line as a regex</h2>
49
50
<h2>ES6 features</h2>
51
<pre><code>// Regex "y" and "u" flags
52
-/[a-zA-Z]+/gimyu
+var a = /[a-zA-Z]+/gimyu;
53
54
// for..of loops
55
for(let x of y) { }
@@ -74,4 +74,4 @@ <h2>Known failures</h2>
74
75
<h3>String interpolation containing a closing brace</h3>
76
<pre><code>`${ {foo:'bar'}.foo }`
77
-`${ '}' }`</code></pre>
+`${ '}' }`</code></pre>
0 commit comments