Files
wechatpay-enterprise-web/node_modules/core-js/internals/validate-arguments-length.js
jefferyzhao b9bdc8598b first commit
2025-07-31 17:44:12 +08:00

8 lines
181 B
JavaScript

'use strict';
var $TypeError = TypeError;
module.exports = function (passed, required) {
if (passed < required) throw new $TypeError('Not enough arguments');
return passed;
};