aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/typeOf.js
blob: 16a34234c0b055ae0940e7a545e0a15b4a49bbb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
var test1 = typeof a

var b = {}
var test2 = typeof b

var c = 5
var test3 = typeof c

var d = "hello world"
var test4 = typeof d

var e = function() {}
var test5 = typeof e

var f = null
var test6 = typeof f

var g = undefined
var test7 = typeof g

var h = true
var test8 = typeof h

var i = []
var test9 = typeof i