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
darrenyaoyaoyao
October 27, 2020
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Javascript_基礎二.pdf
darrenyaoyaoyao
October 27, 2020
More Decks by darrenyaoyaoyao
See All by darrenyaoyaoyao
HTML__CSS_基礎二.pdf
darrenyaoyaoyao
0
78
Pug.pdf
darrenyaoyaoyao
0
96
Sass.pdf
darrenyaoyaoyao
0
79
jquery.pdf
darrenyaoyaoyao
1
110
0c8adb02-ade8-47bb-9939-4d45110ffefd.pdf
darrenyaoyaoyao
0
80
bootstrap.pdf
darrenyaoyaoyao
1
95
Javasrcipt_基礎一.pdf
darrenyaoyaoyao
0
100
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
79
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
56
Other Decks in Programming
See All in Programming
LLM 101
dalinaum
0
350
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
200
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
250
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.6k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
1.7k
GraphQL の onError と Nullability のこれから
quramy
0
200
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
1.1k
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
290
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
490
Performance Optimization With LLMs
xleitix
0
230
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
110
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
250
Featured
See All Featured
New Earth Scene 8
popppiees
4
2.7k
First, design no harm
axbom
PRO
2
1.4k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
900
Claude Code のすすめ
schroneko
67
230k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
570
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
590
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
560
Making Projects Easy
brettharned
120
6.8k
Utilizing Notion as your number one productivity tool
mfonobong
4
630
Chasing Engaging Ingredients in Design
codingconduct
0
380
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