0

Looking for optimizations and/or improvements. The code's flagship method read takes qty,item in the form of an array of arrays.
pluralater.read([[2,'orange'],[3,'peach'],[5,'cherry']]) returns string '2 oranges, 3 peaches, and 5 cherries.'
On github at https://github.com/rhroyston/pluralater-...