consistent function style
This commit is contained in:
parent
a485103d48
commit
fbfe2069bf
|
@ -32,11 +32,11 @@ function byId(a, b) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
const byIndex = (a, b) => {
|
||||
function byIndex(a, b) {
|
||||
if(a.index < b.index) return -1;
|
||||
if(a.index > b.index) return 1;
|
||||
return 0;
|
||||
};
|
||||
}
|
||||
|
||||
function iterationBlockVariable(variables, fn) {
|
||||
for(let indexVariable = 0; indexVariable < variables.length; indexVariable++) {
|
||||
|
|
Loading…
Reference in New Issue