JavaScript Division Operator

Arithmetic Division

/ symbol is used for arithmetic division operator

arithmetic division operator takes two values/variables as operands and returns the result of the left operand divided by the right operand

a / b  //a divided by b
6 / 4  //6 divided by 4


1. a divided by b using division operator

var a = 6;
var b = 4;

var result = a / b;