Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also avoids unnecessary allocation and set. Fixes cases like the following: ```javascript let obj = { a: [1,2] }; dotProp.delete(obj, 'a.1'); dotProp.set(obj, 'a.length', 1); ``` Previously would throw `Uncaught RangeError: Invalid array length` when it tries to set `obj.a.length = {}`
- Loading branch information