

Z 6
可以幫物件隨時添加跟刪除屬性


Z 6
所以你 func 裡面放物件,然後呼叫物件的屬性,也是隨便你

Z 6
反正到時候沒東西就跳 undefined 給你

Z 6


Z 6
不過想一想也對,因為我的目的是幫網頁增加行為

Z 6
原來 method 跟 function 不一樣

Z 6
然後都可以掛上屬性了,加個 method 上去,當然也不成問題