consistent function style

This commit is contained in:
Jordan West 2018-05-07 11:51:29 +10:00
parent a485103d48
commit fbfe2069bf
1 changed files with 2 additions and 2 deletions

View File

@ -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++) {