or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
為你自己學 JavaScript / 高見龍
歡迎來到 Modern Web 2020 共筆
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →共筆入口:https://hackmd.io/@ModernWeb/2020
手機版請點選上方 按鈕展開議程列表。
簡報下載
tags:
MW20
語言與開發
JavaScript
延伸閱讀
為你自己學 Git
為你自己學 Ruby on Rails
為你自己的小孩學程式設計
技術篇
執行環境 (Execution Context)
堆疊 (Stack)
單執行緒
JavaScript一次只能做一件事,他是單執行緒的語言。
Ex1
Ex2
2
會比3
還要後面才出現setTimeout()
是叫程序3秒後再出來,這是一個設定的動作,他不會執行3秒鐘那麼久。Ex3
如果改成setTimeout只有0秒,那是不是就會跑出 1 2 3 了呢?
Call Stack vs. Event Queue
2
永遠不會出現,因為Stack上面一直在做事。- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →物件導向
__proto__
屬性。new做了甚麼事
奇怪的語法
執行順序
Ex1
Ex 2
Ex3
Ex4
NaN
等號
==
==
型別一樣會去做===
===
自我成長篇
做學問的方式
大部分的技術被發明出來,
是要解決特定問題的,要知道技術想解決什麼問題才去用它
要學新技術時,先想想自己是要解決什麼問題
學從難處學,用從易處用
有時別人寫的不一定是對的,要查詢其他更權威的資料或查看原始碼
推薦參加IT鐵人賽,不管做的東西是難的還是簡單的,寫作的過程是在跟自己對話
技術文件舉例: