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
0
110
Javascript_基礎二.pdf
darrenyaoyaoyao
October 27, 2020
Tweet
Share
More Decks by darrenyaoyaoyao
See All by darrenyaoyaoyao
HTML__CSS_基礎二.pdf
darrenyaoyaoyao
0
52
Pug.pdf
darrenyaoyaoyao
0
59
Sass.pdf
darrenyaoyaoyao
0
52
jquery.pdf
darrenyaoyaoyao
1
59
0c8adb02-ade8-47bb-9939-4d45110ffefd.pdf
darrenyaoyaoyao
0
49
bootstrap.pdf
darrenyaoyaoyao
1
74
Javasrcipt_基礎一.pdf
darrenyaoyaoyao
0
87
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
51
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
31
Other Decks in Programming
See All in Programming
Claude Codeで挑むOSSコントリビュート
eycjur
0
200
AIコーディングAgentとの向き合い方
eycjur
0
260
ECS初心者の仲間 – TUIツール「e1s」の紹介
keidarcy
0
150
ProxyによるWindow間RPC機構の構築
syumai
3
1.1k
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
250
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
240
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
250
個人軟體時代
ethanhuang13
0
320
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
19
10k
Amazon RDS 向けに提供されている MCP Server と仕組みを調べてみた/jawsug-okayama-2025-aurora-mcp
takahashiikki
1
100
Go言語での実装を通して学ぶLLMファインチューニングの仕組み / fukuokago22-llm-peft
monochromegane
0
120
為你自己學 Python - 冷知識篇
eddie
1
340
Featured
See All Featured
Scaling GitHub
holman
463
140k
Context Engineering - Making Every Token Count
addyosmani
1
17
Navigating Team Friction
lara
189
15k
The Cult of Friendly URLs
andyhume
79
6.6k
Practical Orchestrator
shlominoach
190
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Visualization
eitanlees
148
16k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Documentation Writing (for coders)
carmenintech
74
5k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Rails Girls Zürich Keynote
gr2m
95
14k
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