上QQ阅读APP看书,第一时间看更新
Key features of JavaScript
JS isn't a functional language, but it has all the features we need to work as if it were. The main features of the language that we will be using are:
- Functions as first–class objects
- Recursion
- Arrow functions
- Closures
- Spread
Let's see some examples of each one, to explain why they will be useful to us.