Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Javascript_基礎二.pdf
Search
darrenyaoyao
October 25, 2020
Programming
22
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Javascript_基礎二.pdf
darrenyaoyao
October 25, 2020
More Decks by darrenyaoyao
See All by darrenyaoyao
HTML__CSS_基礎_.pdf
darrenyaoyao
0
27
HTML__CSS_基礎_.pdf
darrenyaoyao
0
32
HTML__CSS基礎二.pdf
darrenyaoyao
0
25
Javascript進階.pdf
darrenyaoyao
0
21
Javasrcipt_基礎一.pdf
darrenyaoyao
0
75
Bootstrap.pdf
darrenyaoyao
0
33
Sass_基礎篇.pdf
darrenyaoyao
0
32
Github_介紹.pdf
darrenyaoyao
0
120
CSS_Flex_基礎二.pdf
darrenyaoyao
0
28
Other Decks in Programming
See All in Programming
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
460
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Next.js: The final boss of Web Performance
guaca
0
260
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
SREの越境 / SRE Collaboration
y0hgi
2
310
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Rails Girls Zürich Keynote
gr2m
96
14k
Embracing the Ebb and Flow
colly
88
5.2k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
Technical Leadership for Architectural Decision Making
baasie
3
600
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
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