From c3b103dcb6699ae29ece161e78a1e4af6fabf9ac Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 20 Nov 2017 22:18:07 +0000 Subject: [PATCH] Minor fix --- content/docs/faq-functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/faq-functions.md b/content/docs/faq-functions.md index ce9a68f4..d3204d99 100644 --- a/content/docs/faq-functions.md +++ b/content/docs/faq-functions.md @@ -99,7 +99,7 @@ obj.method(); ``` ```js -var method = obj.method(); +var method = obj.method; method(); ``` @@ -160,7 +160,7 @@ class Alphabet extends React.Component { handleClick(letter) { this.setState({ justClicked: letter }); } - render () { + render() { return (
Just clicked: {this.state.justClicked}