鏃ュ織鏍囩锛!=

Javascript涓殑==鍜!=鍒ゆ柇

鍒嗙被锛Javascript璇勮锛0鏉浣滆咃細awinds鏃ユ湡锛2012-06-11闃呰锛7,593 views

鍦ㄨ摑鑹茬湅鍒颁竴涓綉鍙嬪彂甯冧簡涓涓鐩紝棰樼洰濡備笅锛 if(a == b && b==c && a != c){ document.write("ok"); } 瑕佹眰璁$畻a,b,c鐨勫硷紝璁╀唬鐮佽緭鍏k 澶у鍙互鍏堟兂鎯崇瓟妗堟槸浠涔堝憿锛   寰堝揩锛屽氨鏈夌綉鍙嬭创鍑虹瓟妗堜簡锛屼唬鐮佸涓嬶細 var a='',b=0,c='0'; if(a == b && b==c && a != c){ document.write("ok"); } 杩愯涓涓嬶紝鐨勭‘鏄姝わ紝鑰屼笖涓嶅彧鏄痡avascript锛屽熀鏈笂娉涜鐨勭紪绋嬭瑷涓兘鏄繖鏍风殑锛屾墍浠ヨ娉ㄦ剰鍦ㄤ互鍚庣殑鎭掔瓑鍒ゆ柇涓紝涓瀹氳鐢===鍜!==锛岀畝鍗曠殑==鍙兘鍒ゆ柇閿欎簡 鈥
Tags: ,