function compare(value) {
    for (var i = 0; i < scores.length; i++) {
      if (value >= scores[i].score) {
        return true;
      }
    }
    return false;
  }
/**
   * Compares the value to the current high scores
   * @param {number} value
   * @returns boolean
   */
Compares the value to the current high scores
@param {number} value
@returns boolean
Compares the value to the current high scores @param { number } value @returns boolean
function compare(value) {
    for (var i = 0; i < scores.length; i++) {
      if (value >= scores[i].score) {
        return true;
      }
    }
    return false;
  }
function compare ( value ) { for ( var i = 0 ; i < scores . length ; i ++ ) { if ( value >= scores [ i ] . score ) { return true ; } } return false ; }
Compares the value to the current high scores
 @param {number} value
 @returns boolean
Compares the value to the current high scores @param { number } value @returns boolean