📌  相关文章
📜  javascript 删除对象键 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:41.838000             🧑  作者: Mango

代码示例6
// Example 1
var key = "Cow";
delete thisIsObject[key]; 

// Example 2
delete thisIsObject["Cow"];

// Example 3
delete thisIsObject.Cow;