esnext.math.rad-per-deg.js 253 B

12345678
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. // `Math.RAD_PER_DEG` constant
  4. // https://rwaldron.github.io/proposal-math-extensions/
  5. $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, {
  6. RAD_PER_DEG: 180 / Math.PI
  7. });