Friday 15 February 2013

Javascript undefined object -


I know that a variable is undefined

  if (typeof (some) = = "Undefined")   

I do not understand that when a variable is undefined and when an object is undefined For example, when I get a variable i get console.log ()

  object {detailedView: undefined}   

My question is why am I not getting this a plain undefined

a is not undefined It is defined as

some is not defined, so it is undefined is.

No comments:

Post a Comment