index = '1'; var val = {'1':'One','2':'Two','3':'Three','4':'Four'}[index] || 'none'; alert(val);...
請先 登入 以發表留言。