JS Type casting


What will be the output?

[1,2]+[2,3]

What will be the output of the following code?

null + "456"

What is the output?

null + true

What will be the output of the below code?

null + undefined

What is the output?

{}+[]

What will be the output?

{a:1,b:2} + ['a','b']

What is the output of the code?

[] + []

Sponsored

Follow me

Popular posts