- 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!
推薦閱讀
- Visio圖形設(shè)計(jì)從新手到高手(兼容版·第2版)
- AutoCAD 2020中文版從入門到精通(標(biāo)準(zhǔn)版)
- Inkscape 0.48 Illustrator's Cookbook
- 板繪教室:SAI零基礎(chǔ)日系動(dòng)漫插畫入門教程
- 3ds Max 2015中文版從入門到精通
- Android從入門到精通
- 碼上學(xué)會(huì):中文版Creo 3.0機(jī)械設(shè)計(jì)全能一本通(雙色版)
- Adobe創(chuàng)意大學(xué)Photoshop CS5 產(chǎn)品專家認(rèn)證標(biāo)準(zhǔn)教材
- Small Business Server 2008 – Installation, Migration, and Configuration
- Object/Oriented JavaScript
- Linux Shell Scripting Cookbook
- WCF Multi/tier Services Development with LINQ
- 巧用ChatGPT高效搞定Excel數(shù)據(jù)分析
- 構(gòu)筑敏捷的開發(fā)團(tuán)隊(duì):微軟Visual Studio 2010實(shí)戰(zhàn)兵法
- Illustrator CC 2018 基礎(chǔ)與實(shí)戰(zhàn)教程(全彩版)