Merge pull request #2542 from LLyaudet/patch-4
1 typo in 06-function-object
This commit is contained in:
commit
0dc1961648
1 changed files with 1 additions and 1 deletions
|
@ -52,4 +52,4 @@ function f(b) {
|
|||
}
|
||||
```
|
||||
|
||||
This `f` will be used in the next call, again return itself, so many times as needed. Then, when used as a number or a string -- the `toString` returns the `currentSum`. We could also use `Symbol.toPrimitive` or `valueOf` here for the conversion.
|
||||
This `f` will be used in the next call, again return itself, as many times as needed. Then, when used as a number or a string -- the `toString` returns the `currentSum`. We could also use `Symbol.toPrimitive` or `valueOf` here for the conversion.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue