iT邦幫忙

0

Javascript 進階 5-12 函式以及 This 的運作 - 練習

本篇文章會提供10題的練習題練習

Q1

https://ithelp.ithome.com.tw/upload/images/20200226/20121770QhfLSV6i6X.png

A: 小明
B: undefined
C: fu is not a function
D: fu is not defined

答案: C

備註: 無

Q2

https://ithelp.ithome.com.tw/upload/images/20200226/20121770kKzGPxNhqG.png

A: a-陳述式,b-陳述式,c-表達式,d-陳述式
B: a-陳述式,b-表達式,c-陳述式,d-表達式
C: a-表達式,b-陳述式,c-陳述式,d-陳述式
D: a-陳述式,b-表達式,c-陳述式,d-陳述式

答案: A

備註: 無

Q3

https://ithelp.ithome.com.tw/upload/images/20200226/20121770mk6oQ1jEPS.png

A: 六角學院 A / 六角學院 B
B: 六角學院 A / (){ console.log('六角學院 B'); }
C: 六角學院 A / (...)is not defined
D: 六角學院 A / undefined

答案: B

備註: 無

Q4

https://ithelp.ithome.com.tw/upload/images/20200226/20121770Oj3AjtcHHf.png

A: 餘額扣除失敗
B: 餘額不足
C: 目前錢包: 2000
D: 目前錢包: 10000

答案: C

備註: 無

Q5

https://ithelp.ithome.com.tw/upload/images/20200226/20121770vsYfcEmMpD.png

A: undefined
B: 小明
C: 小王
D: 2

答案: A

備註: 無

Q6

https://ithelp.ithome.com.tw/upload/images/20200226/20121770hQ5jWCa1cp.png

A: undefined
B: 小明
C: 小王
D: 小美

答案: D

備註: 無

Q7

https://ithelp.ithome.com.tw/upload/images/20200226/20121770hrtvCAHI3g.png

A: casper
B: 小明
C: undefined
D: 小王

答案: A

備註: 無

Q8

https://ithelp.ithome.com.tw/upload/images/20200226/20121770Lx7ZU9hEPo.png

A: 小明
B: 小美
C: 大明
D: undefined

答案: B

備註: 無

Q9

https://ithelp.ithome.com.tw/upload/images/20200226/20121770aq961Vigap.png

A: 哈囉,小明
B: 哈囉,小美
C: 哈囉,undefined
D: sayHi is not function

答案: A

備註: 無

Q10

https://ithelp.ithome.com.tw/upload/images/20200226/20121770zDvio5VrLA.png

A: casper / undefined
B: casper / c is not defined
C: casper / a is not a function
D: undefined / b is not a function

答案: C

備註: 無


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言