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

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