const i = { iAm: ['Jonny', ], iWantToBe: 'a front end developer', iLove: ['dog', ], iAspire: '' }; i.name = 'JJ'; i['skills'] = ['H', 'C', 'J']; console.log(i);
物件導向的三大特性 封裝:方便閱讀 繼承:去除重覆
frontend
jsnote
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up