Javascript Math toDegrees(radians) {
Math.toDegrees = function(radians) { return radians * 180 / Math.PI; };