js中list 和 map還有string的部分操作 1、創建list或者數組 var list = []; list中添加元素:list.push("hello"); 如果沒有先定義為數組類型不能使用 push方法 ...