{"size": 222, "ext": "js", "max_stars_repo_path": "public/static/js/Cart.js", "max_stars_repo_name": "AlejandroDova/Laravel-ecomerce", "max_stars_repo_stars_event_min_datetime": "2020-09-23T00:47:49.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-23T00:47:49.000Z", "max_issues_repo_path": "public/static/js/Cart.js", "max_issues_repo_name": "AlejandroDova/Laravel-ecomerce", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/static/js/Cart.js", "max_forks_repo_name": "AlejandroDova/Laravel-ecomerce", "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": 24.6666666667, "max_line_length": 69, "alphanum_fraction": 0.6981981982}

function addLocalCart(slug){
    const cart = [ JSON.parse(window.localStorage.getItem('cart')) ];
    cart.push(slug);
    objSerialized = JSON.stringify(cart);
    window.localStorage.setItem('cart', objSerialized);
}

