rk
5 天以前 214cda58c3786972c958da5c6d54a135490a3c11
1
2
3
4
5
6
7
8
9
10
'use strict';
var $ = require('../internals/export');
var clamp = require('../internals/math-clamp');
 
// TODO: Remove from `core-js@4`
// `Math.clamp` method
// https://github.com/tc39/proposal-math-clamp
$({ target: 'Math', stat: true, forced: true }, {
  clamp: clamp
});