Knight of the round table

wansong

javascript match 用法

if (stringSample.match('[AW]')) {
}

stringSample == 'A'  || stringSample == 'W' 

posted on 2012-06-20 15:52 w@ns0ng 阅读(250) 评论(0)  编辑  收藏 所属分类: javascript html