ericltw / notes

0 stars 1 forks source link

JavaScript #54

Open ericltw opened 4 years ago

ericltw commented 4 years ago

Module

在tsconfig.json中,其中一個compiler options為module,這個module選項其實就是module format,讓開發者能夠設定compiler轉換TypeScript生成的JavaScript是以哪一種module format實現module。

Reference
ericltw commented 4 years ago

Decorators

介紹

Decorator本質上是一個function,執行以下兩件事情:

Reference
ericltw commented 4 years ago

Object // TODO

介紹
Reference
ericltw commented 4 years ago

Prototype // TODO

目的

object透過prototype關聯其他object。

特性
Reference
ericltw commented 4 years ago

The Modern JavaScript Tutorial