array.map does not change array values : <p>Why doesn't array.map work?</p>

<p>My code is:</p>

<pre><code>let myArray = [000,111,222,333,444,555,666,777,888,999];

myArray.map((value) =&gt; {
     return = 1000 - value;
});

console.log(myArray);
</code></pre>

<p>The result is:
[0, 111, 222, 333, 444, 555, 666, 777, 888, 999]</p>
