Get the type of a variable
<html> <head> <title>The Typeof Example</title> <script type = "text/javascript" > var aObject = {}; aObject["A"] = new Object; aObject["A"].myValue = "a"; document.write(typeof aObject["A"].myValue); </script> </head> <body> </body> </html>