[toc]
# 問題
1. 如何改變 this 的指向?
2. 在一個全局函數中 this 指向誰?
3. 在一個對象中的函數 this 指向誰?
4. apply 和 call 有什么區別?
5. 以下代碼的輸出結果是?
~~~
const a = {
name: 'jack',
hello: function(a, b) {
console.log(this.name)
}
}
const b = {
name: 'tom'
}
a.hello() // 輸出啥?
a.hello.call(b) // 輸出啥?為啥?
~~~
# 權限按鈕圖解

6. CSS 中如何設置優先級最高?
7. template 標簽在什么時候使用?干什么用的?是否能有 key 屬性?key 要放哪?
8. watch 是干什么用的?如何深度 watch?