function s1Func(a){ alert(typeof a.valueOf()); }
function s2Func(){ var b = "bbb"; var c = 123; if(typeof b.valueOf() == "string" && typeof c.valueOf() == "number"){ alert("yes"); } else { alert("no"); } }