最佳答案
使用 Chrome 控制台,下面是我的输入和输出:
[0].map(Array);
[[0, 0, [0]]]; // output
这里发生了什么?
剪辑
我之所以好奇是因为
[0].map(String);
会回来的
["0"];
也不是
["0", "0", "String"]