Any solutions here ? It works nice in most cases but in two cases it fails to work properly, Typeof = function Typeof ( Input ) { Type = "" Type = ( Input == undefined ) ? "Undefined" : Type Type = ( Input === null ) ? "None" : Type Type = ( ( "" + Input ) [ 0 ] == "[" && !Input.length ) ? "Object" : Type Type = ( Input === true || Input === false ) ? "Logic" : Type Type = ( Type == "" ) ? ( ( Input+1 === ( ( Input/2 )*2+1 ) ) ? "Number" : Type ) : Type Type = ( Input !== Input ) ? "NaN" : Type
user9674579
user9674579
user9674579