测试代码:"abdaffwead".replace(/(.)(?=[^$])/g,"$1,")
<script type="text/javascript"> var obj="abdaffwead".replace(/(.)(?=[^$])/g,"$1,").split(","); alert(obj); alert(obj.length); alert(obj instanceof Array); </script>
测试代码:"abdaffwead".replace(/(.)(?=[^$])/g,"$1,")
<script type="text/javascript"> var obj="abdaffwead".replace(/(.)(?=[^$])/g,"$1,").split(","); alert(obj); alert(obj.length); alert(obj instanceof Array); </script>