functionalscript 0.0.293 → 0.0.294
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -203,17 +203,6 @@ x[0] = 3 // < invalid
|
|
|
203
203
|
const f = () => x // < invalid
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
This mutable object cannot be used in [closures](https://en.wikipedia.org/wiki/Closure_(computer_programming)) or nested functions.
|
|
209
|
-
|
|
210
|
-
An example of incorrect code would look like this:
|
|
211
|
-
|
|
212
|
-
```js
|
|
213
|
-
let x = 5
|
|
214
|
-
const f = () => x
|
|
215
|
-
```
|
|
216
|
-
|
|
217
206
|
### 5.2 Return
|
|
218
207
|
|
|
219
208
|
[Return](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/return)
|