Poll: Was this article helpful for you?
You do not have permission to vote in this poll.
Yes
100.00%
1 100.00%
No
0%
0 0%
Total 1 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Additions with variables in JavaScript
#1
var Num1 = 2;
var Num2 = 3;
var Res1 = Num1 + Num2;

document.write(Res1);
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  JavaScript - Additions with values Qomplainerz 0 511 04-04-2023, 08:05 AM
Last Post: Qomplainerz
  JavaScript - Additions with variables Qomplainerz 0 473 04-04-2023, 08:05 AM
Last Post: Qomplainerz
  JavaScript - Additions with expressions Qomplainerz 0 490 04-04-2023, 08:04 AM
Last Post: Qomplainerz
  JavaScript - Subtractions with variables Qomplainerz 0 497 04-04-2023, 08:03 AM
Last Post: Qomplainerz
  JavaScript - Multiplications with variables Qomplainerz 0 486 04-04-2023, 08:01 AM
Last Post: Qomplainerz
  JavaScript - Divisions with variables Qomplainerz 0 499 04-04-2023, 08:00 AM
Last Post: Qomplainerz
  JavaScript - Exponentiations with variables Qomplainerz 0 488 04-04-2023, 07:58 AM
Last Post: Qomplainerz
  JavaScript - Modulus with variables Qomplainerz 0 468 04-04-2023, 07:57 AM
Last Post: Qomplainerz
  Additions with values in JavaScript Qomplainerz 0 380 03-21-2023, 10:32 AM
Last Post: Qomplainerz

Forum Jump:


Users browsing this thread: 1 Guest(s)