- 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.
推薦閱讀
- Midjourney AI繪畫藝術(shù)創(chuàng)作教程:關(guān)鍵詞設(shè)置、藝術(shù)家與風(fēng)格應(yīng)用175例
- 從零開始:Flash CS6中文版基礎(chǔ)培訓(xùn)教程
- R Graph Cookbook
- Drools JBoss Rules 5.0 Developer's Guide
- 二維計(jì)算機(jī)繪圖教程:二維CAD工程師取證全程指導(dǎo)
- 中文版3ds Max 2021完全自學(xué)教程
- CryENGINE 3 Cookbook
- VRP11/3ds Max虛擬現(xiàn)實(shí)制作標(biāo)準(zhǔn)實(shí)訓(xùn)教程
- Oracle Enterprise Manager Grid Control 11g R1: Business Service Management
- ASP.NET 3.5 Social Networking
- 音樂日記:Studio One 6場(chǎng)景×風(fēng)格編曲實(shí)用教程
- Photoshop CC入門與提高(超值版)
- 用Studio One輕松制作你的短視頻音樂
- WS/BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
- Photoshop CC平面設(shè)計(jì)實(shí)戰(zhàn)從入門到精通