![]() |
1
irisdev 54 天前
console.log 不会打印原型链上的,let in 就可以看到了,另:问问题贴代码比贴截图来的快
for(let key in en) { console.log(key) console.log(en[key]) } 或者这样:console.log(en.specity) |
2
Trello 54 天前
我倒是很好奇你这终端用的啥,看上去好花哨,蛮好看的
|
![]() |
3
ykalone 54 天前
去浏览器打印看
|
![]() |
4
bojackhorseman 54 天前 via iPhone
@Trello 估计用的 oh my posh
|
![]() |
5
zhaomeicheng 54 天前 via Android
@irisdev 你这方法好。
|
![]() |
6
kamal 53 天前
|
8
churchill 53 天前
|
9
churchill 53 天前
为啥我不能贴图。。。
[]( https://imgtu.com/i/Xzyq8P) |
![]() |
10
linuxsteam OP @Trello oh my posh ,跟 oh my zsh 差不多
|
![]() |
11
linuxsteam OP @irisdev 收到,感谢。我回去试试
|
![]() |
12
pocketz 36 天前
另外。。。MDN 的译文其实并不是很及时,如果有能力建议阅读英文,所有翻译都是基于英文版的。
|