Example 1: how to add property to object in javascript var data = { 'PropertyA': 1, 'PropertyB': 2, 'PropertyC': 3 }; data["PropertyD"] = 4; // dialog box ...
確定! 回上一頁