📚 › JavaScript: make pages do things
4. Operators
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
Arithmetic uses + - * / and % (remainder). Comparison uses === for equal and !== for not equal, plus < and >. Use parentheses to choose which calculation happens first.
% helps check even or odd: n % 2 is 0 for even numbers.
उदाहरण देखें
console.log(7 + 3);
console.log((2 + 3) * 4);
console.log(10 % 4);
✍️ अब आपकी बारी
Print the result of 12 multiplied by 5.