<commit_before>function something()
	{
		var x = window.localStorage.getItem('ccc'); // x = hh['ccc']

		x = x * 1 + 1; // x = x + 1 // x * 1 is because in JS first row return as a string. Here we remake it to integer again

		window.localStorage.setItem('ccc', x); // hh['ccc'] = x

		alert(x); // Execute a table in browser
	}

function add_to_cart(id)
	{
		alert('You added pizza with id: ' + id);
	}<commit_msg>Add localStorage variable for add_to_cart function<commit_after>function something()
	{
		var x = window.localStorage.getItem('ccc'); // x = hh['ccc']

		x = x * 1 + 1; // x = x + 1 // x * 1 is because in JS first row return as a string. Here we remake it to integer again

		window.localStorage.setItem('ccc', x); // hh['ccc'] = x

		alert(x); // Execute a table in browser
	}

function add_to_cart(id)
	{
		var x = window.localStorage.getItem('product_' + id);
		x = x * 1 + 1;
		window.localStorage.setItem('product_' + id, x);
	}
{'fraction_non_alphanumeric': 0.1529535864978903, 'fraction_numerical': 0.010548523206751054, 'mean_word_length': 3.1441048034934496, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6666385', 'n_tokens_mistral': 367, 'n_tokens_neox': 330, 'n_words': 112}