nodered_cfg/node_modules/core-js/internals/validate-arguments-length.js

8 lines
181 B
JavaScript
Raw Normal View History

2024-08-24 20:48:14 +02:00
'use strict';
var $TypeError = TypeError;
module.exports = function (passed, required) {
if (passed < required) throw new $TypeError('Not enough arguments');
return passed;
};