mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 02:26:43 +00:00
chore: Remove inline comment
This commit is contained in:
parent
1e8238608b
commit
0ce557945e
1 changed files with 1 additions and 1 deletions
|
|
@ -914,7 +914,7 @@ getNestedPrice({item: {price: 9.99}}) // Some(9.99)
|
|||
A **function** is a special kind of language construct: often specified as an arrow or lambda expression - an anonymous or named block of code (the body) with optional parameters. It allows us to treat a piece of code as data and e.g. pass it to methods:
|
||||
|
||||
```js
|
||||
button.onClick(e => console.log("the button has been clicked")) // valid function, but with a side effect (see below)
|
||||
button.onClick(e => console.log("the button has been clicked"))
|
||||
```
|
||||
|
||||
```js
|
||||
|
|
|
|||
Loading…
Reference in a new issue