摘要: var arr:Array=[1,33,5,7,8,12,4];trace(getIndex(9,arr));function getIndex(currentValue:Number,arr:Array):int { var flag:Boolean=true; var firstMatchIndex:int; var num:int=arr.length; for (var i:int=0;... 阅读全文
posted @ 2010-07-20 17:00 LT世纪 阅读(432) 评论(0) 推荐(0) 编辑