Skip to content

Commit

Permalink
Update deepMerge
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmeeedMostafa committed Jun 5, 2023
1 parent 9cf15dd commit 71a098b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const deepMerge = (source, object = {}, considerArray = false) => {
const valType = typeof val;
if (
valType !== 'object' ||
val instanceof HTMLElement ||
val === null ||
Array.isArray(val) ||
!source[k] ||
Expand Down

0 comments on commit 71a098b

Please sign in to comment.