loop in object array element jquery
<p>Hello i'm using map() jquery to create a new object array 
<a href="http://jsfiddle.net/minagabriel/BKDLt/" rel="nofollow">DEMO</a> but this code is not working </p>

<p>i need to have a new object array with the same name for all objects but with different number 
 so how can we point over each element in the old array and change its value , i used <code>value[0].number</code> but it didn't do the trick </p>

<p><strong>CODE</strong> </p>

<pre><code>  var x =[
 {name : 'mark' , number : '10'},
 {name : 'mina' , number : '15' } ,
 ]; 

 var newObject = $.map(x,function(value,index){

value.name = 'mon';
value[0].number = 12 ;
value[1].number = 11 ; 
return value ; 

  });
 console.log(newObject) ;
</code></pre>

<p>​
<strong>Question</strong> is how can i point to each number in the old object array and change it </p>
