Question:What will produce for the following javascript code:
<script>
var posVal=41;
var negVal=-posVal;
var diffVal=(posVal-negVal);
document.write(diffVal);
</script>
 

A 82 

B -82 

C 41 

D Syntax error 

+ Answer
+ Report
Total Preview: 724

Copyright © 2024. Powered by Intellect Software Ltd