summaryrefslogtreecommitdiff
path: root/Base/home/anon/js
diff options
context:
space:
mode:
authorConrad Pankoff <deoxxa@fknsrs.biz>2020-03-18 06:33:32 +1100
committerAndreas Kling <kling@serenityos.org>2020-03-17 21:28:02 +0100
commit46a897b59b600703effc02fc07e31323c8967d5f (patch)
tree68b2241393220e1d2c25a6f8e0f2f407db4dc2cf /Base/home/anon/js
parent0a71533afff8ccef5801cdbfc9c424c3a6f0330a (diff)
downloadserenity-46a897b59b600703effc02fc07e31323c8967d5f.zip
LibJS: Implement typeof operator
Diffstat (limited to 'Base/home/anon/js')
-rw-r--r--Base/home/anon/js/typeof.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/Base/home/anon/js/typeof.js b/Base/home/anon/js/typeof.js
new file mode 100644
index 0000000000..ead2189226
--- /dev/null
+++ b/Base/home/anon/js/typeof.js
@@ -0,0 +1 @@
+console.log(typeof undefined, typeof true, typeof 'a', typeof 1, typeof {});