JavaScript测试


<script type="text/javascript">
Number.prototype.toHexString = function() {
 return this.toString(16);
};
var iNum = 15;
alert(iNum.toHexString());
</script>

 

你可能感兴趣的:(JavaScript测试)