mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 05:28:25 -04:00
8 lines
181 B
JavaScript
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;
|
|
};
|