forked from ard/ruoyi-api

‘liusuyi’
2023-07-04 633956efc1b27599f8e4b8fe255a5f70587d60ff
1
2
3
4
5
6
7
8
9
10
11
var $ = require('../internals/export');
 
var RAD_PER_DEG = 180 / Math.PI;
 
// `Math.degrees` method
// https://rwaldron.github.io/proposal-math-extensions/
$({ target: 'Math', stat: true, forced: true }, {
  degrees: function degrees(radians) {
    return radians * RAD_PER_DEG;
  }
});