摘要: 先上代码 var key = 0; function createVar(){ console.log('hello'); if(key == 1){ createVar = function(){ return 111; } }else if( key ==2 ){ createVar = function(){ return 222; } }else{ cr... 阅读全文
posted @ 2012-05-28 17:05 Sheldon.Dai 阅读(176) 评论(0) 推荐(0) 编辑