使用频率 | 低 |
所属模块 | Std.options |
成员类型 | 公有成员函数 |
Object remove(String name);
Object remove(Array names);
名称 | 类型 | 描述 |
name | String | 需要删除的选项名称 |
names | Array | 包含需要删除的选项名称的数组 |
var options = new Std.options({
width:32,
height:32,
value:0
});
options.remove("value");
var opts = options.get({
width:64
});
//最终结果
opts = {
width:64,
height:32
}