11 lines
275 B
JavaScript
11 lines
275 B
JavaScript
'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
|
|
});
|