Open bharat-dussa opened 1 month ago
deepMerge
Merges two objects deeply, including nested objects.
File: src/utils/object/deepMerge/deepMerge.ts Test File: src/utils/object/deepMerge/deepMerge.test.ts
src/utils/object/deepMerge/deepMerge.ts
src/utils/object/deepMerge/deepMerge.test.ts
Parameters:
obj1: object
obj2: object
Returns:
object
Example:
deepMerge({ a: 1, b: { c: 2 } }, { b: { d: 3 } }); // { a: 1, b: { c: 2, d: 3 } }
Hi, Please assign this issue to me. I want to contribute.
hi @bharat-dussa , i can work on this
Thanks @ShahAnuj2610 for showing interest in contribution! Looking forward to your Implementation
deepMerge
Merges two objects deeply, including nested objects.
File:
src/utils/object/deepMerge/deepMerge.ts
Test File:src/utils/object/deepMerge/deepMerge.test.ts
Parameters:
obj1: object
: The first object.obj2: object
: The second object.Returns:
object
: The merged object.Example: