There're a few ways to add properties to an object in JavaScript. One way is to add a property using the dot notation: obj.foo = 1;.
確定! 回上一頁