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
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
62
Pug.pdf
darrenyaoyaoyao
0
79
Sass.pdf
darrenyaoyaoyao
0
62
jquery.pdf
darrenyaoyaoyao
1
83
0c8adb02-ade8-47bb-9939-4d45110ffefd.pdf
darrenyaoyaoyao
0
62
bootstrap.pdf
darrenyaoyaoyao
1
83
Javasrcipt_基礎一.pdf
darrenyaoyaoyao
0
96
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
65
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
40
Other Decks in Programming
See All in Programming
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
120
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
110
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
2
130
Don't Prompt Harder, Structure Better
kitasuke
0
790
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
150
第3木曜LT会 #28
tinykitten
PRO
0
120
Explore CoroutineScope
tomoeng11
0
110
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
4
1.2k
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
190
AIと共に生きる技術選定 2026
sgash708
0
110
의존성 주입과 모듈화
fornewid
0
150
Vibe NLP for Applied NLP
inesmontani
PRO
0
500
Featured
See All Featured
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Bash Introduction
62gerente
615
210k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
200
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
190
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
A Tale of Four Properties
chriscoyier
163
24k
We Are The Robots
honzajavorek
0
220
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
99
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
490
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
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