Commit | Line | Data |
---|---|---|
6a1aa64f DV |
1 | <html> |
2 | <head> | |
3 | <script type="text/javascript" src="../MochiKit/MochiKit.js"></script> | |
4 | <script type="text/javascript" src="SimpleTest/SimpleTest.js"></script> | |
5 | <link rel="stylesheet" type="text/css" href="SimpleTest/test.css"> | |
6 | </head> | |
7 | <body> | |
8 | ||
9 | <pre id="test"> | |
10 | <script type="text/javascript"> | |
11 | is( isUndefined(null), false, "null is not undefined" ); | |
12 | is( isUndefined(""), false, "empty string is not undefined" ); | |
13 | is( isUndefined(undefined), true, "undefined is undefined" ); | |
14 | is( isUndefined({}.foo), true, "missing property is undefined" ); | |
15 | </script> | |
16 | </pre> | |
17 | </body> | |
18 | </html> |