\href{https://npmjs.org/package/merge-descriptors}{\texttt{ }} \href{https://npmjs.org/package/merge-descriptors}{\texttt{ }} \href{https://travis-ci.org/component/merge-descriptors}{\texttt{ }} \href{https://coveralls.io/r/component/merge-descriptors?branch=master}{\texttt{ }}

Merge objects using descriptors.


\begin{DoxyCode}{0}
\DoxyCodeLine{var thing = \{}
\DoxyCodeLine{  get name() \{}
\DoxyCodeLine{    return 'jon'}
\DoxyCodeLine{  \}}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{var animal = \{}
\DoxyCodeLine{}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{merge(animal, thing)}
\DoxyCodeLine{}
\DoxyCodeLine{animal.name === 'jon' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17026}{}\doxysection{API}\label{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17026}
\hypertarget{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17027}{}\doxysubsection{merge(destination, source)}\label{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17027}
Redefines {\ttfamily destination}\textquotesingle{}s descriptors with {\ttfamily source}\textquotesingle{}s.\hypertarget{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17028}{}\doxysubsection{merge(destination, source, false)}\label{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17028}
Defines {\ttfamily source}\textquotesingle{}s descriptors on {\ttfamily destination} if {\ttfamily destination} does not have a descriptor by the same name.\hypertarget{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17029}{}\doxysection{License}\label{md_sfcode_node_modules_merge_descriptors_README_autotoc_md17029}
\mbox{[}MIT\mbox{]}(LICENSE) 