Closed hueniverse closed 4 years ago
When cloning an object with simple keys, Object.defineProperty() is an overkill. This gives a 3x performance gain for most cases.
Object.defineProperty()
When cloning an object with simple keys,
Object.defineProperty()
is an overkill. This gives a 3x performance gain for most cases.