source:
trip-planner-front/node_modules/core-js/modules/esnext.math.radians.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 273 bytes |
Line | |
---|---|
1 | var $ = require('../internals/export'); |
2 | |
3 | var DEG_PER_RAD = Math.PI / 180; |
4 | |
5 | // `Math.radians` method |
6 | // https://rwaldron.github.io/proposal-math-extensions/ |
7 | $({ target: 'Math', stat: true }, { |
8 | radians: function radians(degrees) { |
9 | return degrees * DEG_PER_RAD; |
10 | } |
11 | }); |
Note:
See TracBrowser
for help on using the repository browser.