StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/buble/src/utils/removeTrailingComma.js

17 lines
360 B

export default function removeTrailingComma(code, c) {
while (code.original[c] !== ')') {
if (code.original[c] === ',') {
code.remove(c, c + 1);
return;
}
if (code.original[c] === '/') {
if (code.original[c + 1] === '/') {
c = code.original.indexOf('\n', c);
} else {
c = code.original.indexOf('*/', c) + 1;
}
}
c += 1;
}
}