搞懂javascript整理
1. 變數提升(hoisting)
https://blog.techbridge.cc/2018/11/10/javascript-hoisting/
2. 原型鍊
https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Inheritance_and_the_prototype_chain
https://blog.techbridge.cc/2017/04/22/javascript-prototype/
3. object.create vs new
https://stackoverflow.com/questions/4166616/understanding-the-difference-between-object-create-and-new-somefunction
4. object.create = 繼承
5. class關鍵字實際上還是原型模式
6. javascript動態語言連this都會動態,掌握this
7. prototype constructor
8. oojs
留言
張貼留言