+21
−0
Loading
If we only care about enumerable properties and the object doesn't have any, we don't need to iterate its properties. We can't use this optimization in the CheckForDuplicates case, but fortunately the optimization in the previous patch made that a lot less common. Depends on D127055 Differential Revision: https://phabricator.services.mozilla.com/D127056