Furthermore , awkward break statements are often replaced by simple returns from the function 而且,難以使用的break語(yǔ)句也常常為函數(shù)的簡(jiǎn)單返回所替代。
This technique is a bulletproof way to ensure browser compatibility and to maintain usability even for people who have old browsers or difficulty accessing dropdown menus , either because of a disability or a low level of comfort with the dropdown paradigm 這是一項(xiàng)絕妙的技術(shù),它能保證瀏覽器的兼容性和維護(hù)可用性,甚至對(duì)那些還在用老的瀏覽器的用戶或者是那些難以使用的下拉菜單也有價(jià)值,或者任意一個(gè)因?yàn)橄吕瓨邮蕉@得無(wú)用或者看上去很不舒服的菜單。