-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
Fixes #298.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1891,8 +1891,7 @@ | |
'delete': function (key) { | ||
var fkey; | ||
if (this._storage && (fkey = fastkey(key)) !== null) { | ||
delete this._storage[fkey]; | ||
return; | ||
return delete this._storage[fkey]; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ljharb
Author
Collaborator
|
||
} | ||
ensureMap(this); | ||
return this['[[SetData]]']['delete'](key); | ||
|
and the question appears there: why not to just
return true;
?delete
always returns true