复制代码 代码如下:
<script>
alert('0123456789'.replace(/(\d)/g, function ($1){return "abcdefghij".split("")[$1];}));
</script>
服务器之家 > 正文
复制代码 代码如下:
<script>
alert('0123456789'.replace(/(\d)/g, function ($1){return "abcdefghij".split("")[$1];}));
</script>