Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JavaScript - Subtractions with expressions
#1
Code:
let a = 1;
let b = (10 - 1) - a;

document.getElementById("demo").innerHTML = b;
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
Reply


Messages In This Thread
JavaScript - Subtractions with expressions - by Qomplainerz - 04-04-2023, 08:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  JavaScript - Additions with expressions Qomplainerz 0 490 04-04-2023, 08:04 AM
Last Post: Qomplainerz
  JavaScript - Subtractions with values Qomplainerz 0 503 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 expressions Qomplainerz 0 476 04-04-2023, 08:01 AM
Last Post: Qomplainerz
  JavaScript - Divisions with expressions Qomplainerz 0 446 04-04-2023, 07:59 AM
Last Post: Qomplainerz
  JavaScript - Exponentiations with expressions Qomplainerz 0 460 04-04-2023, 07:58 AM
Last Post: Qomplainerz
  JavaScript - Modulus with expressions Qomplainerz 0 404 04-04-2023, 07:56 AM
Last Post: Qomplainerz

Forum Jump:


Users browsing this thread: 2 Guest(s)