Question: What does (12%5) return?
A
B
C
D
7
B
2
C
60
D
70
Note: Evaluate (12%5) as (12 mod 5) [mod is determine the reminder of a division]
5|12|2
10
-------
2
Here reminder is 2
var name="My name is Emran!"; document.write(name.length);
var a=5; var b=6; var c=(a<b); var d="Print "+(c*25)+" dollars"; alert(d);
<script> var alpha="Apples"; var beta=alpha+"Oranges"; var gamma=Math.sqrt(omega); var delta=200/gamma; alert(delta); </script>