|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
301 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var $ = require('../internals/export');
|
|---|
| 3 |
|
|---|
| 4 | var RAD_PER_DEG = 180 / Math.PI;
|
|---|
| 5 |
|
|---|
| 6 | // `Math.degrees` method
|
|---|
| 7 | // https://rwaldron.github.io/proposal-math-extensions/
|
|---|
| 8 | $({ target: 'Math', stat: true, forced: true }, {
|
|---|
| 9 | degrees: function degrees(radians) {
|
|---|
| 10 | return radians * RAD_PER_DEG;
|
|---|
| 11 | }
|
|---|
| 12 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.