mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
docs(proxy): fix deleteProperty #733
This commit is contained in:
parent
2bc6ef1a34
commit
4c30a12b4e
@ -634,6 +634,7 @@ new p() // 报错
|
||||
var handler = {
|
||||
deleteProperty (target, key) {
|
||||
invariant(key, 'delete');
|
||||
delete target[key];
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user