projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
node_modules
/
core-js
/
library
/
modules
/
_an-object.js
diff --git a/node_modules/core-js/library/modules/_an-object.js
b/node_modules/core-js/library/modules/_an-object.js
new file mode 100644
(file)
index 0000000..
59a8a3a
--- /dev/null
+++ b/
node_modules/core-js/library/modules/_an-object.js
@@ -0,0
+1,5
@@
+var isObject = require('./_is-object');
+module.exports = function(it){
+ if(!isObject(it))throw TypeError(it + ' is not an object!');
+ return it;
+};
\ No newline at end of file