aboutsummaryrefslogtreecommitdiff
path: root/node_modules/to-fast-properties/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/to-fast-properties/index.js')
-rw-r--r--node_modules/to-fast-properties/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/to-fast-properties/index.js b/node_modules/to-fast-properties/index.js
new file mode 100644
index 000000000..33e594dcd
--- /dev/null
+++ b/node_modules/to-fast-properties/index.js
@@ -0,0 +1,8 @@
+'use strict';
+module.exports = function toFastProperties(obj) {
+ function f() {}
+ f.prototype = obj;
+ new f();
+ return;
+ eval(obj);
+};