{"size": 174, "ext": "js", "max_stars_repo_path": "exercies/find.js", "max_stars_repo_name": "bartekwitczak/functional-concepts-js", "max_stars_repo_stars_event_min_datetime": "2021-12-15T13:30:11.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-15T13:30:11.000Z", "max_issues_repo_path": "exercies/find.js", "max_issues_repo_name": "bartekwitczak/functional-concepts-js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "exercies/find.js", "max_forks_repo_name": "bartekwitczak/functional-concepts-js", "max_forks_repo_forks_event_min_datetime": "2018-03-16T08:04:13.000Z", "max_forks_repo_forks_event_max_datetime": "2018-05-24T21:47:21.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 3, "avg_line_length": 17.4, "max_line_length": 41, "alphanum_fraction": 0.5229885057}
const find = (list, predicate) => {
  for (let i = 0; i < list.length; ++i) {
    const item = list[i]
    if (predicate(item)) {
      return item
    }
  }
  return null
}
