arffToolkit.js
function loadArff(fileName, callback) {
  ARFF.load(fileName, (error, data) => {
    if (error) {
      throw new Error(filename + error);
    }
    callback(data);
  });
  
  return 'THIS IS ASYNCHRONOUS';
}
function loadArff(fileName, callback) {
  ARFF.load(fileName, (error, data) => {
    if (error) {
      throw new Error(filename + error);
    }
    callback(data);
  });
  
  return 'THIS IS ASYNCHRONOUS';
}
function loadArff ( fileName , callback ) { ARFF . load ( fileName , ( error , data ) => { if ( error ) { throw new Error ( filename + error ) ; } callback ( data ) ; } ) ; return 'THIS IS ASYNCHRONOUS' ; }
just a wrapper to make it easier to read ARFF files
just a wrapper to make it easier to read ARFF files