Sanity check to test each type and ensure that they work and there are no false positives. Each table should have one true, matching the type in the caption, and the rest should be false.
Try it out on your browser, let me know if something isn't working. I've tried in FF2 on WinXp & OSX, Safari 2 on OSX, Safari 3 on WinXp, IE6 & 7 on WinXp, and Opera 9 on WinXp.
Test 'element' Type
Desc
Code
Result
Test 'textnode' Type
Desc
Code
Result
Test 'whitespace' Type
Desc
Code
Result
Test 'arguments' Type
Desc
Code
Result
Test 'object' Type
Desc
Code
Result
Test 'array' Type
Desc
Code
Result
Test 'string' Type
Desc
Code
Result
Test 'number' Type on an Integer
Desc
Code
Result
Test 'number' Type on a Decimal
Desc
Code
Result
Test 'boolean' Type
Desc
Code
Result
Test 'function' Type
Desc
Code
Result
Test 'regexp' Type
Desc
Code
Result
Test 'date' Type
Desc
Code
Result
Test 'Class' Type; example of custom Object (from mootools)