try { with({ 'ã®' : function(x){ return x==this['ã®']?x('ã¸ã®ã¸ã®ãã£ã±ã'):x.call?(function(){throw x})():x}, 'ã¡' : function(x){ return x==this['ã¡']?x('å·ç©ãã£ã±ã'):x.call?(function(){throw x})():x}, 'д' : function(x){ return x==this['д']?x('ããã¬ã¹ãã£ã±ã'):x.call?(function(){throw x})():x}, 'ï½' : function(x){ return x==this['ï½']?x('ã¨ããããã£ã±ã'):x.call?(function(){throw x})():x} }) { alert((ã®)(ã®)) // ã¸ã®ã¸ã®ãã£ã±ã alert((ã¡)(ã¡)) // å·ç©ãã£ã±ã alert((д)(д)) // ããã¬ã¹ãã£ã±ã alert((ï½)(ï½)) // ã¨ããããã£ã±ã alert((ï½)(д)) // ã¨ã©ã¼ } } catch(e) { alert('å¼æ°ã«ã¯ä¹³é¦ããåãä»ãã¾ãã:' + e); }