mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
code formatting
This commit is contained in:
parent
78f0c942bd
commit
b5a9695746
@ -53,8 +53,7 @@ function factory (type, config, load, typed) {
|
||||
// `random(max)` or `random(size)`
|
||||
if (isCollection(arg1)) {
|
||||
size = arg1;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
max = arg1;
|
||||
}
|
||||
} else if (arguments.length === 2) {
|
||||
@ -62,8 +61,7 @@ function factory (type, config, load, typed) {
|
||||
if (isCollection(arg1)) {
|
||||
size = arg1;
|
||||
max = arg2;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
min = arg1;
|
||||
max = arg2;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user