source: node_modules/core-js-pure/modules/esnext.math.radians.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 301 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3
4var DEG_PER_RAD = Math.PI / 180;
5
6// `Math.radians` method
7// https://rwaldron.github.io/proposal-math-extensions/
8$({ target: 'Math', stat: true, forced: true }, {
9 radians: function radians(degrees) {
10 return degrees * DEG_PER_RAD;
11 }
12});
Note: See TracBrowser for help on using the repository browser.