minor fixes in documentation
This commit is contained in:
parent
c1ec0814dd
commit
ab2e5ecda0
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
Ox.compact <f> Returns an array w/o <code>undefined</code> values
|
Ox.compact <f> Removes <code>null</code> or <code>undefined</code> values
|
||||||
> Ox.compact([null,,1,,2,,3])
|
> Ox.compact([null,,1,,2,,3])
|
||||||
[1, 2, 3]
|
[1, 2, 3]
|
||||||
@*/
|
@*/
|
||||||
|
@ -33,6 +33,7 @@ Ox.flatten = function(arr) {
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
Ox.merge <f> Merges an array with one or more other arrays
|
Ox.merge <f> Merges an array with one or more other arrays
|
||||||
|
For convenience, literals are treated as arrays with one element
|
||||||
> Ox.merge([1], [2, 3, 2], [1])
|
> Ox.merge([1], [2, 3, 2], [1])
|
||||||
[1, 2, 3, 2, 1]
|
[1, 2, 3, 2, 1]
|
||||||
> Ox.merge(1, [2, 3, 2], 1)
|
> Ox.merge(1, [2, 3, 2], 1)
|
||||||
|
@ -58,7 +59,7 @@ Ox.range <f> Python-style range
|
||||||
<code>stop</code> (exclusive).
|
<code>stop</code> (exclusive).
|
||||||
(start, stop, step) -> <[n]> range
|
(start, stop, step) -> <[n]> range
|
||||||
Returns an array of numbers from <code>start</code> (inclusive) to
|
Returns an array of numbers from <code>start</code> (inclusive) to
|
||||||
<code>stop</code> (exclusive), incrementing by <code>step</step>.
|
<code>stop</code> (exclusive), incrementing by <code>step</code>.
|
||||||
start <n> Start value
|
start <n> Start value
|
||||||
stop <n> Stop value
|
stop <n> Stop value
|
||||||
step <n> Step value
|
step <n> Step value
|
||||||
|
|
Loading…
Reference in a new issue