function _filterByExtension(extension, item) {
    if (item.extension.toUpperCase() === extension.toUpperCase()) {
      return true;
    }
    return false;
  }
function _filterByExtension(extension, item) {
    if (item.extension.toUpperCase() === extension.toUpperCase()) {
      return true;
    }
    return false;
  }
function _filterByExtension ( extension , item ) { if ( item . extension . toUpperCase ( ) === extension . toUpperCase ( ) ) { return true ; } return false ; }
Filter array of data by extension
extension {String}
item {Object}
@return {Boolean}
Filter array of data by extension extension { String } item { Object }