QP School
JavaScript - Modulus with expressions - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: JavaScript Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=6)
+--- Thread: JavaScript - Modulus with expressions (/showthread.php?tid=4104)



JavaScript - Modulus with expressions - Qomplainerz - 04-04-2023

Code:
let a = (9 % 2) % 2;

document.getElementById("demo").innerHTML = a;