mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 02:26:43 +00:00
commit
cc5fcc4f89
1 changed files with 11 additions and 0 deletions
11
readme.md
11
readme.md
|
|
@ -86,6 +86,17 @@ greet.toUpperCase(); // YO;
|
|||
|
||||
greet // yo;
|
||||
```
|
||||
|
||||
As opposed to:
|
||||
|
||||
```js
|
||||
let numbers = [1, 2, 3];
|
||||
|
||||
numbers.splice(0); // [1, 2, 3]
|
||||
|
||||
numbers // []
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Side effects
|
||||
|
|
|
|||
Loading…
Reference in a new issue