What does shallo clone object mean?
<p>I am using underscore.js library has a clone method.</p>

<pre><code>var newObject = _.clone(oldObject);
</code></pre>

<p>I read from one of the comments that it's a shall clone. I want to make a clone of an object and pass it to different functions. </p>

<p>When i alter the newObject which is inside the <code>function A()</code>, i get the following results... </p>

<pre><code>{
    'Des': 'Some Des'
    'Des1': 4,
    'Des2': {
        "ChildDes": 0,

    },
},
</code></pre>

<p>But when i pass the newObject which is the clone object to an another <code>function B()</code>, i get alert value as <code>[Object,Object]</code>. Why? I am not able to print the value like this.. </p>

<pre><code>function B(newObject){
   alert(newObject.Des2);
}
</code></pre>
