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

Chapter 2. Review of Important JavaScript OOP Concepts

Before we start creating and using our modules in JavaScript, it is important to have a good grasp of important Object Oriented Programming (OOP) concepts in JavaScript. We will rely on such concepts to design and implement our application modules in later chapter.

While my intent in this chapter is not to explore such conceptes in great depth, I will try to provide a good overview of some of the most important related topics.

If you feel that you are quite familiar with these concepts in JavaScript, you could skip this chapter and move on to the next one.

However, if you are not very familiar with OOP in JavaScript, even if you are familiar with similar concepts in classical object oriented languages, I encourage you to follow along as things are a little different in JavaScript. I think it will be worthwhile for you to have a look at these concepts in the realm of JavaScript.

In this chapter, we will cover:

  • JavaScript objects and their constructors
  • What this keyword is and how it behaves in different contexts
  • Closure and its uses
  • Inheritance in JavaScript
  • Prototype chaining

And other related topics.

主站蜘蛛池模板: 丰顺县| 泾阳县| 岫岩| 牙克石市| 奉化市| 肇东市| 武清区| 巫溪县| 涡阳县| 牡丹江市| 玉龙| 义马市| 阿拉善左旗| 九台市| 彰化县| 剑川县| 都安| 洱源县| 富川| 白城市| 阜南县| 花莲市| 安远县| 特克斯县| 巫溪县| 科尔| 泽普县| 临江市| 东阳市| 江西省| 宜昌市| 会昌县| 邹城市| 海原县| 伊宁县| 皋兰县| 延川县| 新乡县| 集安市| 嘉黎县| 潢川县|