parent
6f1d2e9cd7
commit
fe5c605090
@ -306,7 +306,7 @@ code-example(format="." language="html").
|
|||||||
.l-sub-section
|
.l-sub-section
|
||||||
:marked
|
:marked
|
||||||
The [ES2015 arrow function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)
|
The [ES2015 arrow function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)
|
||||||
in the callback is more succint than the equivalent function expression and gracefully handles *this*.
|
in the callback is more succinct than the equivalent function expression and gracefully handles *this*.
|
||||||
:marked
|
:marked
|
||||||
Our callback sets the component's `heroes` property to the array of heroes returned by the service. That's all there is to it!
|
Our callback sets the component's `heroes` property to the array of heroes returned by the service. That's all there is to it!
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user