function toRad(value) {
  return (value * Math.PI) / 180;
}
ToRad.
@description Convert degrees to radian.
@param {number} value - Value in degree.
@returns {number} Returns value in radian.
@example
const rad = toRad(340);