reading-notes

Class Four Notes (301)

Title

Thinking in React1

Higher Order Function2

function greaterThan(n) { return m => m > n; } let greaterThan10 = greaterThan(10); console.log(greaterThan10(11)); // → true

Back to main page

References

  1. https://reactjs.org/docs/thinking-in-react.html 

  2. https://reactjs.org/docs/thinking-in-react.html