added comment
This commit is contained in:
parent
16b6811b75
commit
ab3711cfad
1 changed files with 2 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue