Javascript examples for Operator:Quiz
Use the /= operator to divide the variable x with 5.
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> var x = 10;//ww w.ja v a 2 s. c o m x /= 5; document.getElementById("demo").innerHTML = x; </script> </body> </html>