書名: Object/Oriented JavaScript作者名: Stoyan Stefanov本章字數: 90字更新時間: 2021-08-13 19:25:53
Exercises
- What is the result of executing each of these lines in the console? Why?
var a; typeof a;
var s = '1s'; s++;
!!"false"
!!undefined
typeof -Infinity
10 % "0"
undefined == null
false === ""
typeof "2E+2"
a = 3e+3; a++;
- What is the value of
v
after the following?>>> var v = v || 10;
Experiment by first setting
v
to 100, 0,null
, or unset it (delete v
). - Write a script that prints out the multiplication table. Hint: use a loop nested inside another loop.
推薦閱讀
- 中文版SketchUp 2022完全實戰技術手冊
- Adobe創意大學After Effects CS5 影視特效師標準實訓教材
- Instant Vert.x
- Photoshop CS6從入門到精通
- Photoshop CC中文版基礎與實例教程(第7版)
- Photoshop日系少女寫真后期解密
- Moodle JavaScript Cookbook
- Premiere視頻編輯應用教程:PremierePro 2020(微課版)
- Vue 企業開發實戰
- 零基礎學會聲會影2018(全視頻教學版)
- 玩轉電子設計:基于Altium Designer的PCB設計實例(移動視頻版)
- Cinema 4D基礎培訓教材
- Adobe創意大學Premiere Pro CS5 影視剪輯師標準實訓教材
- UG NX 10中文版完全自學手冊
- Photoshop CC平面設計實戰從入門到精通