- 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!
推薦閱讀
- JBoss AS 5 Development
- Moodle 2.0 E/Learning Course Development
- 數碼攝影后期零基礎入門教程
- IBM Cognos 8 Report Studio Cookbook
- Spring Python 1.1
- Hadoop核心技術
- 改變思維:菜鳥也能做出震撼PPT(全彩版)
- Instant MuseScore
- 中文版3ds Max 2021完全自學教程
- 新編AutoCAD制圖快捷命令速查一冊通
- Photoshop CS6從入門到精通
- Adobe創意大學Photoshop產品專家認證標準教材(CS6修訂版)
- Photoshop CS6中文版基礎與實例教程(第6版)
- Excel 2010 Financials Cookbook
- Python氣象應用編程