aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/v4/typeof.1.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/v4/typeof.1.js')
-rw-r--r--tests/manual/v4/typeof.1.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/v4/typeof.1.js b/tests/manual/v4/typeof.1.js
new file mode 100644
index 0000000000..a24cfc6169
--- /dev/null
+++ b/tests/manual/v4/typeof.1.js
@@ -0,0 +1,12 @@
+
+var o = {
+ number: 123,
+ fun: function() {},
+ string: "ciao",
+ array: [],
+}
+
+print(typeof o)
+print(typeof o.number)
+print(typeof o.fun)
+print(typeof o.array)