{"size": 360, "ext": "js", "max_stars_repo_path": "Important concepts/callbacks_functions.js", "max_stars_repo_name": "Pratham82/JavaScript-porgramming", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Important concepts/callbacks_functions.js", "max_issues_repo_name": "Pratham82/JavaScript-porgramming", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Important concepts/callbacks_functions.js", "max_forks_repo_name": "Pratham82/JavaScript-porgramming", "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": 17.1428571429, "max_line_length": 125, "alphanum_fraction": 0.7138888889}
// In this example the sumTwo is acting as callback function, because it is being passed in operation function as a parameter
function sumTwo(n) {
  return n + 2
}

function operation(arithmetic, num) {
  return arithmetic(num)
}

console.log(operation(sumTwo, 10))

function fn1() {
  return 'hello'
}

function l2(l1) {
  return l1()
}

console.log(l2(fn1))
