摘要:
let rawindexof = String.prototype.indexOf String.prototype.indexOf = function (str) { var res = rawindexof.call(this, str) console.log(`[String] "${th 阅读全文
摘要:
function convertToHexEscape(str) { let hexEscape = ""; for (let i = 0; i < str.length; i++) { const charCode = str.charCodeAt(i); const hexValue = cha 阅读全文
摘要:
var a=1; console.log(a); if(true){ console.log(a); a = 5; function a(){}; function b(){}; a = 0; console.log(a); }; console.log(a); console.log(b); 阅读全文