|
@@ -77,7 +77,7 @@ of data.</p>
|
|
|
<p>Let's generate 2 more sets of data. One being the places where the number
|
|
|
men are greater than the number of women and visa versa, the places where
|
|
|
the number of women are greater than the number of men. </p>
|
|
|
-<p>The first thing let's write a function that given a 2 dimensional array of
|
|
|
+<p>The first thing let's write a function that given a 2 dimensional array
|
|
|
of arrays like we had before will map over it to generate a new 2 dimensional
|
|
|
array of arrays</p>
|
|
|
<pre class="prettyprint showlinemods notranslate lang-js" translate="no">function mapValues(data, fn) {
|