- Object/Oriented JavaScript
- Stoyan Stefanov
- 155字
- 2021-08-13 19:25:53
Summary
In this chapter, you learned a lot about the basic building blocks of a JavaScript program. Now you know the primitive data types:
- number
- string
- boolean
- undefined
- null
You also know quite a few operators:
- Arithmetic operators: +, -, *, /, and %.
- Increment operators: ++ and --.
- Assignment operators: =, +=, -=, *=, /=, and %=.
- Special operators:
typeof
anddelete.
- Logical operators: &&, ||, and !.
- Comparison operators: ==, ===, !=, !==, <, >, >=, and <=.
Then you learned how to use arrays to store and access data, and finally you saw different ways to control the flow of your program—using conditions (if-else
or switch
) and loops (while
, do-while
, for
, for-in
).
This is quite a bit of information and it is recommended that you now go through the exercises below, then give yourself a well-deserved pat on the back before diving into the next chapter. More fun is coming up!
推薦閱讀
- 中文版AutoCAD 2016從入門到精通
- 對比Excel,輕松學習SQL數據分析
- IBM Lotus Notes 8.5 User Guide: LITE
- 從零開始學LATEX
- 邊做邊學:Photoshop CS6 圖像制作案例教程
- 中文版Premiere影視編輯課堂實錄
- 中文版 Photoshop CC 從入門到精通
- MATLAB 2015從入門到精通
- Illustrator平面設計立體化教程:Illustrator 2021(微課版)
- Photoshop+Adobe Camera Raw+Lightroom(攝影后期照片潤飾實戰)
- After Effects CC 2018影視特效與合成案例教程
- CMS Design Using PHP and jQuery
- SolidWorks 2018快速入門及應用技巧
- Elasticsearch數據搜索與分析實戰
- TopSolid Wood軟件設計技術與應用