Replace hasOwnProperty / in for checking existence
Replace hasOwnProperty / in for checking existence
Bug #3840 [Closed]
- Status changed from New to Closed
- % Done changed from 0 to 100
All usage replaced with obj[key] / obj[key] !== undefined / obj.key
Status: | Closed | |
---|---|---|
Start date: | 2014-01-25 | |
Priority: | Normal | |
Due date: | ||
Assignee: | ||
% Done: | 100% |
|
Category: | - | |
Target version: | v3.0 alpha |
hasOwnProperty is slower than other methods to check existence of a key