function something()
{
	
	var x = window.localStorage.getItem('x');

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


	alert(x);

}







function something()
{
	
	var x = window.localStorage.getItem('bbb');

	x = x * 1 + 1;

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


	alert(x);

}







Make x variable in localStorage
Make x variable in localStorage
