2012-09-23 63 views

回答

4

这应该工作:

if(v[1].match(new RegExp(val, 'i'))) { 
    console.log(v); 
}​ 
+0

今天帮我+ 1。 –