{"size": 221, "ext": "js", "max_stars_repo_path": "funcoes/ex12.js", "max_stars_repo_name": "Carlosxc-dev/JAVA_SCRIPT", "max_stars_repo_stars_event_min_datetime": "2021-11-25T00:29:09.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-25T00:29:09.000Z", "max_issues_repo_path": "funcoes/ex12.js", "max_issues_repo_name": "Carlosxc-dev/JAVA_SCRIPT", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "funcoes/ex12.js", "max_forks_repo_name": "Carlosxc-dev/JAVA_SCRIPT", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.0909090909, "max_line_length": 39, "alphanum_fraction": 0.5610859729}
function fatorial(valor){
    let aux, acumulador

    acumulador = valor
    for (let i = valor-1; i > 0; i--) {
        aux = i * acumulador
        acumulador = aux 
    }
    return aux   
}
console.log(fatorial(10));