Translate ECMAScript 6's arrow function to a regular function : <p>Im trying to convert the script below to a normal function, but fail to understand how. </p>

<p>The script counts the numbers of instances (model) in a Array (productList.Lockers) and appends it to a target div. </p>

<pre><code>productList.Lockers.forEach(o =&gt; $('#' + o.model).siblings('#modelcount').text((i, t) =&gt; (  parseInt(t, 10) || 0) + 1 ));
var modelCount = document.getElementById('allcount');
modelCount.innerHTML = productList.Lockers.length;
</code></pre>
