官术网_书友最值得收藏!

Chapter 3. A JavaScript Primer

It's important to have a solid understanding of JavaScript to write Node.js applications. JavaScript is not a large or complex language, but it may seem unusual, and has a few quirks and gotchas to watch out for.

The recent release of ECMAScript 2015 (previously named ES6) introduces a number of new language features to make JavaScript programming easier and safer. Not all ES2015 features are available in all implementations yet. However, all the ES2015 features we'll mention in this chapter are available in Node.js and in most other JavaScript environments.

In this chapter, we'll familiarize ourselves with JavaScript so we can write Node.js applications with confidence. We will cover the following topics:

  • The JavaScript type system
  • JavaScript as a functional programming language
  • Object-oriented programming in JavaScript
  • JavaScript's prototype-based inheritance
主站蜘蛛池模板: 陆河县| 丁青县| 襄樊市| 庆安县| 临泉县| 句容市| 安溪县| 徐汇区| 寿阳县| 凯里市| 清远市| 丹阳市| 卢湾区| 昌江| 惠安县| 金塔县| 镶黄旗| 泌阳县| 阜新市| 黎城县| 甘肃省| 漯河市| 陆河县| 富川| 屏山县| 措勤县| 玉溪市| 苏州市| 涪陵区| 监利县| 讷河市| 隆林| 肇庆市| 唐山市| 筠连县| 迁安市| 涟水县| 会泽县| 保定市| 天水市| 望城县|