Browse Source
Update faq-functions.md
found a small syntax error in example
main
David DeAngelis
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/faq-functions.md
|
|
@ -155,7 +155,7 @@ class Alphabet extends React.Component { |
|
|
|
this.handleClick = this.handleClick.bind(this); |
|
|
|
this.state = { |
|
|
|
justClicked: null, |
|
|
|
letters: Array.from({length: 26}, (_, i) => String.fromCharCode(A + i)). |
|
|
|
letters: Array.from({length: 26}, (_, i) => String.fromCharCode(A + i)) |
|
|
|
}; |
|
|
|
} |
|
|
|
handleClick(letter) { |
|
|
|