var f = new Doubler();
f.value=100;
f.double();
alert(f.value);