Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Javascript_基礎二.pdf
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
darrenyaoyaoyao
October 27, 2020
Programming
130
0
Share
Javascript_基礎二.pdf
darrenyaoyaoyao
October 27, 2020
More Decks by darrenyaoyaoyao
See All by darrenyaoyaoyao
HTML__CSS_基礎二.pdf
darrenyaoyaoyao
0
60
Pug.pdf
darrenyaoyaoyao
0
72
Sass.pdf
darrenyaoyaoyao
0
58
jquery.pdf
darrenyaoyaoyao
1
77
0c8adb02-ade8-47bb-9939-4d45110ffefd.pdf
darrenyaoyaoyao
0
61
bootstrap.pdf
darrenyaoyaoyao
1
80
Javasrcipt_基礎一.pdf
darrenyaoyaoyao
0
94
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
60
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
38
Other Decks in Programming
See All in Programming
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
850
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
240
The free-lunch guide to idea circularity
hollycummins
0
420
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
230
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
110
おれのAgentic Coding 2026/03
tsukasagr
1
130
20260320登壇資料
pharct
0
160
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
440
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
340
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
410
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
1.7k
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
180
Featured
See All Featured
Designing for Timeless Needs
cassininazir
0
190
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Git: the NoSQL Database
bkeepers
PRO
432
67k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
Darren the Foodie - Storyboard
khoart
PRO
3
3.1k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
260
Information Architects: The Missing Link in Design Systems
soysaucechin
0
870
RailsConf 2023
tenderlove
30
1.4k
A Tale of Four Properties
chriscoyier
163
24k
We Have a Design System, Now What?
morganepeng
55
8.1k
Transcript
Javascript 基礎⼆ 控制網⾴的基礎
今⽇⽬標
for 迴圈 for (var i = 0 ; i <
5 ; i++) { … }
for ( 語法⼀ ; 語法⼆ ; 語法三) { … }
語法⼀ : 初始條件 語法⼆ : 結束條件 語法三 : 每次回圈都要執⾏的程式
for 迴圈其實是程式碼的縮寫 for (var i = 0 ; i <
5 ; i++) { console.log(“Hello”) } console.log(“Hello”) console.log(“Hello”) console.log(“Hello”) console.log(“Hello”) console.log(“Hello”)
function 函式 function () { … return XXX; } 封裝常⽤的程式碼
array 陣列 var a = [“12”, “23”, “4”] a[0] =
“12” a[1] = “23” a[2] = “4”
array 陣列常⽤⼦函式 var a = [“12”, “23”, “4”] a.length //
指 a 的長度 a.push(“56”) // 在尾巴新增內容
object 物件 var david = { age: 12, weight: 70
} david.age = 12 david.weight = 70
object 物件 var david = { age: 12, weight: 70
} david.age = 12 david.weight = 70
object 物件 var david = { age: 12, weight: 70
} 我們會稱 age 為 key 12 為 value
object 物件 var david = { age: 12, weight: 70
} key 可以為任意英⽂字或字串 value 可以為任何型態 包括 function, arrary, object