javascript radian to degree

JavaScript
const radsToDegs = rad => rad * 180 / Math.PI;

const degsToRads = deg => (deg * Math.PI) / 180.0;const degsToRads = deg => (deg * Math.PI) / 180.0;

const radsToDegs = rad => rad * 180 / Math.PI;
Source

Also in JavaScript: