Javascript - Write program to Use the /= operator to divide the variable x with 5.

Requirements

Write program to Use the /= operator to divide the variable x with 5.

var x = 10;
// add code here
console.log( x );

Demo

var x = 10;
x /= 5;
console.log( x );

Result