Dividing elements in one array by elements in other?
<p>Maybe trivial but what is an elegant way of dividing elements in one array by another (assume arrays are of equal length)? For instance</p>

<pre><code>var A = [2,6,12,18]
var B = [2,3,4,6]
</code></pre>

<p>Dividing should give me: <code>[1,2,3,3]</code></p>
