之前提的问题很傻逼

之前提的问题很傻逼

!function(){
    console.log('you are a idiot ')
}()
阅读 2.4k
2 个回答

console.log(JSON.stringify(arr));

输出没问题,点开Array(5)就行了。

不过你这个代码不是1234501234


额,输出字符串就先转成字符串……见楼上JSON.stringify()

推荐问题