03 2010 档案
摘要:Array.prototype.unique = function () { var r = new Array(); o:for(var i = 0, n = this.length; i < n; i++) { for(var x = 0, y = r.length; x < y; x++) { if(r[x]==this[i]) { continue o; } } r[r.len...
阅读全文
摘要:function reverseColor(rgbColor) {//205,15,20 // console.log(rgbColor); rgbColor = rgbColor.replace(/\s/g, ""); var arrRGB = new Array(3); if (rgbColor.indexOf("rgb") > -1) { var...
阅读全文
摘要:Echo The simplest use of echo is to print a string as argument, for example: echo “This will print in the user’s browser window.”; Or equivalently: echo(“This will print in the...
阅读全文
摘要:PHP has a total of eight types: integers, doubles, Booleans, strings, arrays, objects, NULL, andresources.✦Integers are whole numbers, without a decimal point, like 495. ✦ Doubles are floating-point n...
阅读全文

浙公网安备 33010602011771号