Hi, I've just started learning javascript with this promising book, but I got stuck in the increment and decrement part. The post increment /decrement not working with me:
HTML Code:
<script>
var myFirstVariable=1;
var result;
result=myFirstVariable++;
alert(result);
</script>
It shows the value without any change, that is 1
What am I missing here?
Thanks in advance