summaryrefslogtreecommitdiffstats
path: root/examples/window.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/window.js')
-rw-r--r--examples/window.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/window.js b/examples/window.js
new file mode 100644
index 0000000..e7c1e1b
--- /dev/null
+++ b/examples/window.js
@@ -0,0 +1,3 @@
+console.log("window:", window);
+console.log("window === this?", window === this);
+console.log("window.navigator.userAgent:", window.navigator.userAgent);