Version 1
[yaffs-website] / node_modules / core-js / modules / _an-object.js
diff --git a/node_modules/core-js/modules/_an-object.js b/node_modules/core-js/modules/_an-object.js
new file mode 100644 (file)
index 0000000..59a8a3a
--- /dev/null
@@ -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