function something()
{

	var x = window.localStorage.getItem('aaa');

	x = x * 1 + 1;

	window.localStorage.setItem('aaa', x);

	alert(x);
}

function add_to_cart(id)
{
	alert('You added pizza with id: ' + id)
}
@@ -1,16 +1,18 @@
+//
 function somethi
@@ -20,11 +20,14 @@
 g()%0A
-%7B%0A%0A
+//%7B%0A//
 %09var
@@ -67,17 +67,18 @@
 'aaa');%0A
-%0A
+//
 %09x = x *
@@ -85,17 +85,18 @@
  1 + 1;%0A
-%0A
+//
 %09window.
@@ -127,17 +127,18 @@
 a', x);%0A
-%0A
+//
 %09alert(x
@@ -140,16 +140,18 @@
 ert(x);%0A
+//
 %7D%0A%0Afunct
@@ -177,45 +177,125 @@
 %0A%7B%0A%09
-alert('You added pizza with id: 
+var x = window.localStorage.getItem('product_' + id);%0A%09x = x * 1 + 1;%0A%09window.localStorage.setItem('product_
 ' + id
-)
+, x);
 %0A%7D

add product js