<script language="javascript">
<!--
void function change(a) {  
   this.c=a+1;
}
a=0;
var b=new change(a);
alert(b.c);
//-->
</script>
try~~~