JS對象中,a.b與a[b]並沒有什麼區別,都是獲得該對象的某個屬性
不同之處在於a[b]中的b必須是個字符串
注: 在數組裏,只能是
arr[a]
,不能寫成arr.a。
擴展:
A[i]
是數組 的第 i 個 ;A[i].key
是數組 的第 i 個 的 key 屬性。
JS對象中,a.b與a[b]並沒有什麼區別,都是獲得該對象的某個屬性
不同之處在於a[b]中的b必須是個字符串
注: 在數組裏,只能是
arr[a]
,不能寫成arr.a。
擴展:
A[i]
是數組 的第 i 個 ;A[i].key
是數組 的第 i 個 的 key 屬性。
(function(d, s, id) { let js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) retur
https://view.officeapps.live.com/op/view.aspx?src=你地址