mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-13 03:36:07 +09:00
remove timer and simon
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var builtinModules = require('builtin-modules');
|
||||
|
||||
module.exports = function (str) {
|
||||
if (typeof str !== 'string') {
|
||||
throw new TypeError('Expected a string');
|
||||
}
|
||||
|
||||
return builtinModules.indexOf(str) !== -1;
|
||||
};
|
||||
Reference in New Issue
Block a user