document Ox.break
This commit is contained in:
parent
04784630d3
commit
34bf08c445
1 changed files with 5 additions and 2 deletions
|
@ -15,11 +15,14 @@ Ox.avg = function(obj) {
|
|||
return Ox.sum(obj) / Ox.len(obj);
|
||||
};
|
||||
|
||||
/*@
|
||||
Ox.break <f> end loops by calling Ox.break()
|
||||
@*/
|
||||
Ox.break = function() {
|
||||
throw Ox.BreakError;
|
||||
};
|
||||
|
||||
Ox.BreakError = new SyntaxError('Illegal My.break() statement');
|
||||
Ox.BreakError = new SyntaxError('Illegal Ox.break() statement');
|
||||
|
||||
/*@
|
||||
Ox.clone <f> Returns a (shallow or deep) copy of an object or array
|
||||
|
|
Loading…
Reference in a new issue