MrShi
4 天以前 acf90ad8e6bea592124541324467360cef565ff5
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
});