# Add a Key/Value pair to an Object in JavaScript · Use bracket [] notation, e.g. obj['name'] = 'John' . · Use dot . notation, e.g. obj.name = 'John' . · Use the ...
確定! 回上一頁