summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/GlobalObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/GlobalObject.h')
-rw-r--r--Libraries/LibJS/Runtime/GlobalObject.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/GlobalObject.h b/Libraries/LibJS/Runtime/GlobalObject.h
new file mode 100644
index 0000000000..3aabb4d3e2
--- /dev/null
+++ b/Libraries/LibJS/Runtime/GlobalObject.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <LibJS/Runtime/Object.h>
+
+namespace JS {
+
+class GlobalObject final : public Object {
+public:
+ explicit GlobalObject();
+ virtual ~GlobalObject() override;
+
+private:
+ virtual const char* class_name() const override { return "GlobalObject"; }
+};
+
+}