source:
imaps-frontend/node_modules/core-js/internals/validate-arguments-length.js@
79a0317
Last change on this file since 79a0317 was 79a0317, checked in by , 3 days ago | |
---|---|
|
|
File size: 181 bytes |
Line | |
---|---|
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.