{"size": 320, "ext": "js", "max_stars_repo_path": "ES6/default-params.js", "max_stars_repo_name": "aungzanbaw/FSE", "max_stars_repo_stars_event_min_datetime": "2016-10-08T10:21:34.000Z", "max_stars_repo_stars_event_max_datetime": "2019-12-11T03:23:59.000Z", "max_issues_repo_path": "ES6/default-params.js", "max_issues_repo_name": "aungzanbaw/FSE", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "ES6/default-params.js", "max_forks_repo_name": "aungzanbaw/FSE", "max_forks_repo_forks_event_min_datetime": "2016-10-13T14:58:31.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-17T07:18:26.000Z"}
{"max_stars_count": 40, "max_issues_count": null, "max_forks_count": 71, "avg_line_length": 14.5454545455, "max_line_length": 43, "alphanum_fraction": 0.48125}
'use strict'

function sum(x,y) {
  if (x == undefined) {
    x = 0
  }
  if (y == undefined) {
    y = 0
  }
  return x + y
} // es5 way to filter incoming parameters

/*
* x = 0 if x == undefined
* y = 0 if y == undefined
* RUBY way :)
*/

function sum(x = 0, y = 0) {
  return x + y
} // es6 way
