日期:2014-05-16 浏览次数:20361 次
<script type="text/javascript">
alert(1,function(){alert(2);});
var string = "267";
var number = /(\d)\d)\d)/g;
alert(string.match(number),function(a,b,c,d){return document.write(b);});
alert(string.match(number),function(a,$1,$2,$3){return document.write($1);});
</script>
_alert=alert;
alert=function(){
var as=[].slice.call(arguments),f=as.pop();
console.info((as.length?as[0]:'xx'),f)
as.length?f.apply(f, as[0].constructor==Array? as[0]:as ):_alert(f);
}
alert(1,function(){alert(2);});
var string = "267";
var number = /(\d)(\d)(\d)/;
alert(string.match(number),function(a,b,c,d){return document.write(b);});
alert(string.match(number),function(a,$1,$2,$3){return document.write($1);});