wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

TGIF JS QUIZ

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

true + false

a)

'truefalse'

b)

1

c)

NaN

d)

SyntaxError

2.

[] + [] === [,] + [,];

a)

true

b)

false

c)

syntax error

d)

undefined

3.

0.2 + 0.1 === 0.3

a)

true

b)

false

c)

undefined

d)

syntax error

4.

parseInt(0.0000005)

a)

0

b)

1

c)

5

d)

syntax error

5.

true == "true"

a)

true

b)

false

c)

syntax error

d)

undefined

6.

3 > 2 > 1

a)

true

b)

false

c)

1

d)

syntax error

7.

"" - - ""

a)

""

b)

0

c)

1

d)

syntax error

8.

1 + 2 + "3"

a)

"123"

b)

123

c)

"33"

d)

33

9.

isNaN(NaN)

a)

true

b)

false

c)

undefined

d)

syntax error

10.

typeof NaN

a)

'NaN'

b)

'number'

c)

'string'

d)

'null'

11.

{} + []

a)

1

b)

0

c)

''

d)

syntax error

12.

'DigitalService' - 1;

a)

'DigitalServic'

b)

syntax error

c)

NaN

d)

'igitalService'