+ 2

Can we do Operations such as +,-,/,* in JS?

html is not a programming language .. is JS the same?

6th Jul 2018, 2:31 PM
Omkar Gurav
Omkar Gurav - avatar
5 ответов
+ 15
<script> var a = 2; var b = 3; document.write(a+b); //output '5' </script> which means we can use the operations +, -, *, /, % 😁👍
6th Jul 2018, 2:48 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
6th Jul 2018, 2:33 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 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.
6th Jul 2018, 2:37 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 4
kk... Thx
6th Jul 2018, 2:37 PM
Omkar Gurav
Omkar Gurav - avatar