{"size": 277, "ext": "js", "max_stars_repo_path": "10.js", "max_stars_repo_name": "edward70/project-euler", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "10.js", "max_issues_repo_name": "edward70/project-euler", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "10.js", "max_forks_repo_name": "edward70/project-euler", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.3888888889, "max_line_length": 45, "alphanum_fraction": 0.5126353791}
//noprotect
function isPrime(num) {
  for (let i = 2; i <= Math.sqrt(num); i++) {
    if (num % i === 0) {
      return false;
    }
  }
  return true;
}

let primeSum = 0;
for (let i = 2; i < 2000000; i++) {
  if (isPrime(i)) {
    primeSum += i;
  }
}
console.log(primeSum);
