added comment

This commit is contained in:
rolux 2013-11-30 19:40:48 +01:00
parent 16b6811b75
commit ab3711cfad

View file

@ -378,6 +378,8 @@ Ox.repeat <f> Repeat a value multiple times
> Ox.repeat([{k: 'v'}], 3)
[{k: 'v'}, {k: 'v'}, {k: 'v'}]
@*/
// FIXME: see https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js
// for a faster version
Ox.repeat = function(value, times) {
var ret;
if (Ox.isArray(value)) {