var buf3 = new Buffer([1,2,3,4,-10,256],'utf8');//默认为utf8console.log(buf3[0]);//正常的范围是0~255console.log(buf3[4]);//如果为-10,那么值为256-10=246console.log(buf... Read More
posted @ 2015-03-18 10:46 soft.push("zzq") Views(168) Comments(0) Diggs(0)
var DSQ = setInterval(function(){ console.log('zzq');},1000);setTimeout(function(){ clearInterval(DSQ);//清除定时器,想要再次使用需重新创建},5000);setTimeout(fun... Read More
posted @ 2015-03-18 08:42 soft.push("zzq") Views(276) Comments(0) Diggs(0)