linwenling
2023-03-30 0498034d98a44e2de9ae3f68aba75e3903f687a6
1
2
3
4
5
6
7
8
9
// https://rwaldron.github.io/proposal-math-extensions/
var $export = require('./_export');
var DEG_PER_RAD = Math.PI / 180;
 
$export($export.S, 'Math', {
  radians: function radians(degrees) {
    return degrees * DEG_PER_RAD;
  }
});