[JavaScript] Conjoin/ Join two arrays to create associative array
This joins two 1-D arrays to create associative array where each element is a key,value pair (one from each arrays)
For example,
arrayA = [1,2,3,4]
and
arrayB = ['aravind','prasath','aravind','prasath']
then,
on zipping you get,
resultArray = [1=>'aravind',2=>'prasath',3=>'aravind',4=>'prasath'];
<![CDATA[// <![CDATA[ // <![CDATA[ // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>









