Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
273 bytes
|
Line | |
---|
1 | var $ = require('../internals/export');
|
---|
2 |
|
---|
3 | var RAD_PER_DEG = 180 / Math.PI;
|
---|
4 |
|
---|
5 | // `Math.degrees` method
|
---|
6 | // https://rwaldron.github.io/proposal-math-extensions/
|
---|
7 | $({ target: 'Math', stat: true }, {
|
---|
8 | degrees: function degrees(radians) {
|
---|
9 | return radians * RAD_PER_DEG;
|
---|
10 | }
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.