source:
node_modules/core-js-pure/internals/validate-arguments-length.js
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 181 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | 'use strict'; |
2 | var $TypeError = TypeError; | |
3 | ||
4 | module.exports = function (passed, required) { | |
5 | if (passed < required) throw new $TypeError('Not enough arguments'); | |
6 | return passed; | |
7 | }; |
Note:
See TracBrowser
for help on using the repository browser.