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)
|
> Ox.repeat([{k: 'v'}], 3)
|
||||||
[{k: 'v'}, {k: 'v'}, {k: 'v'}]
|
[{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) {
|
Ox.repeat = function(value, times) {
|
||||||
var ret;
|
var ret;
|
||||||
if (Ox.isArray(value)) {
|
if (Ox.isArray(value)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue