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