+ 2
Can we do Operations such as +,-,/,* in JS?
html is not a programming language .. is JS the same?
5 Respuestas
+ 15
<script>
var a = 2;
var b = 3;
document.write(a+b);
//output '5'
</script>
which means we can use the operations +, -, *, /, %
😁👍
+ 4
Keep pushing through the course. I promise they won't leave out something that important. ;) It's a programming language if that's what you're asking though; not a markup language.
+ 4
kk... Thx