04 2020 档案
摘要:1.字符方法charAt()和charCodeAt();这两个方法都接收一个参数stringValue[index]方法也返回特定位置的单个字符 var stringValue = "hello world";stringValue.charAt(1);//"e"=>以单字符字符串的形式返回给定位置
阅读全文
摘要:Software testing is the headlights, quality is the journey, business outcomes are the destination. Ann-Marie Charrett
阅读全文
摘要:声明 var map = new Map(); 设值 map.set("key","value"); 取值 map.get("key"); 判断key是否存在 map.has("key"); 删除key map.delete("key");
阅读全文
摘要:var mycars = new Array();mycars[0] = "Saab";mycars[1] = "Volvo";mycars[2] = "BMW"; var myCars=new Array("Saab","Volvo","BMW"); var myCars=["Saab","Vol
阅读全文
浙公网安备 33010602011771号