var links = [
{ name: "1", url: "#" },
{ name: "2 ", url: "#" },
{ name: "3", url: "#" },
{ name: "4", url: "#" },
{ name: "5", url: "#" }
];這么一個(gè)數(shù)組,我用了兩層for in才取到里面的值能否用map取到里面的name和url值呢
數(shù)組取值問(wèn)題
烙印99
2018-08-14 10:09:58