React: Difference between revisions

121 bytes added ,  1 October 2019
m
→‎Spread operator: Object Rest/Spread Properties for ECMAScript
Line 86: Line 86:


== Arrow functions and scope ==
== Arrow functions and scope ==
Reference: [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions Arrow functions]


<source lang="js">
<source lang="js">
Line 116: Line 118:
tahoe.print(); // Freel, Rose, Tallac, Rubicon, Silver
tahoe.print(); // Freel, Rose, Tallac, Rubicon, Silver
</source>
</source>


== Destructing objects ==
== Destructing objects ==