mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
19 lines
607 B
HTML
19 lines
607 B
HTML
<html>
|
|
<head>
|
|
<script type="text/javascript" src="/MochiKit/packed.js"></script>
|
|
<script type="text/javascript" src="../SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="../SimpleTest/test.css">
|
|
</head>
|
|
<body>
|
|
|
|
<pre id="test">
|
|
<script type="text/javascript">
|
|
is( isUndefined(null), false, "null is not undefined" );
|
|
is( isUndefined(""), false, "empty string is not undefined" );
|
|
is( isUndefined(undefined), true, "undefined is undefined" );
|
|
is( isUndefined({}.foo), true, "missing property is undefined" );
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|