为什么我的Chrome控制台无法正常工作?

时间:2018-07-01 03:54:45

标签: google-chrome console.log

function test(){console.log('tested')} test()

当我将其放在chrome控制台中时,我希望得到“测试”的输出。但是,“ undefined”是我得到的:

> function test(){console.log('tested')} test()
< undefined

0 个答案:

没有答案