Initial project upload

This commit is contained in:
Mohamed Mathar Irfan
2026-07-28 17:57:02 +05:30
commit ed6610d5d8
23919 changed files with 3003316 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
'use strict';
var aNumber = require('../internals/a-number');
var $min = Math.min;
var $max = Math.max;
module.exports = function clamp(value, min, max) {
return $min($max(aNumber(value), aNumber(min)), aNumber(max));
};