var map = new Map();. 2)Map的賦值 map.set(k1,v1);. 3)Map的取值. Get(): 該方法返回key對應的value,如果不存在,則返回undefined。 map.get(k1);.
確定! 回上一頁