{"size": 170, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "TehShrike/just-flatten", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.js", "max_issues_repo_name": "TehShrike/just-flatten", "max_issues_repo_issues_event_min_datetime": "2016-07-16T19:26:02.000Z", "max_issues_repo_issues_event_max_datetime": "2016-07-18T14:29:13.000Z", "max_forks_repo_path": "index.js", "max_forks_repo_name": "TehShrike/just-flatten", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 21.25, "max_line_length": 73, "alphanum_fraction": 0.6529411765}
module.exports = function flatten(ary) {
	if (Array.isArray(ary)) {
		return ary.reduce((memo, element) => memo.concat(flatten(element)), [])
	} else {
		return ary
	}
}
