You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="content"><divclass='highlight'><pre> objects[splatsAndExpans.sort()[<spanclass="hljs-number">1</span>]].error <spanclass="hljs-string">"multiple splats/expansions are disallowed in an assignment"</span>
Copy file name to clipboardExpand all lines: docs/v2/index.html
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -646,7 +646,7 @@
646
646
<sectionid="overview">
647
647
<p><strong>CoffeeScript is a little language that compiles into JavaScript.</strong> Underneath that awkward Java-esque patina, JavaScript has always had a gorgeous heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way.</p>
648
648
<p>The golden rule of CoffeeScript is: <em>“It’s just JavaScript.”</em> The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly from CoffeeScript (and vice-versa). The compiled output is readable, pretty-printed, and tends to run as fast or faster than the equivalent handwritten JavaScript.</p>
<blockquoteclass="uneditable-code-block"><pre><codeclass="language-bash"><spanclass="comment"># Install locally for a project:</span>
651
651
npm install --save-dev coffeescript
652
652
@@ -4790,7 +4790,7 @@ <h2>Web Chat (IRC)</h2>
4790
4790
</section>
4791
4791
<sectionid="annotated-source">
4792
4792
<h2>Annotated Source</h2>
4793
-
<p>You can browse the CoffeeScript 2.2.0 source in readable, annotated form <ahref="annotated-source/">here</a>. You can also jump directly to a particular source file:</p>
4793
+
<p>You can browse the CoffeeScript 2.2.1 source in readable, annotated form <ahref="annotated-source/">here</a>. You can also jump directly to a particular source file:</p>
<li>Bugfix for regression in 2.2.0 involving an error thrown by the compiler in certain cases when using destructuring with a splat or expansion in an array.</li>
5476
+
<li>Bugfix for regression in 2.2.0 where in certain cases a range iterator variable was declared in the global scope.</li>
Copy file name to clipboardExpand all lines: documentation/sections/changelog.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
## Changelog
2
2
3
+
```
4
+
releaseHeader('2018-02-06', '2.2.1', '2.1.0')
5
+
```
6
+
* Bugfix for regression in 2.2.0 involving an error thrown by the compiler in certain cases when using destructuring with a splat or expansion in an array.
7
+
* Bugfix for regression in 2.2.0 where in certain cases a range iterator variable was declared in the global scope.
0 commit comments