2xrsa/test.html

13 lines
222 B
HTML
Raw Normal View History

2015-04-28 09:49:04 +00:00
<html><head><script>
2015-04-28 09:50:22 +00:00
a='test'.match(/./g);
2015-04-28 09:56:55 +00:00
if(a.shift()) alert('1');
if(a.shift()) alert('2');
if(a.shift()) alert('3');
if(a.shift()) alert('4');
2015-04-28 09:58:53 +00:00
if(a.shift()){
alert('5');
}else{
alert('6');
}
2015-04-28 09:49:04 +00:00
</script><head></html>