标签:return script div rip rand rom ring mat else
本文用于提醒自己切忌遇事就想着转进制
rnd_hex:function(){ var hex = "#" for(var i = 0 ; i < 6 ; i++){ var uni = Math.round(Math.random()*22+48) if(uni<58 | uni>64){ var chr = String.fromCharCode(uni) hex = hex + chr }else{ i-- } return hex }
标签:return script div rip rand rom ring mat else
原文地址:http://www.cnblogs.com/t1me/p/6705576.html