We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第266天 window.console.log()和console .log()有区别吗?体现在哪里?
作者:cxwht
我也要出题
The text was updated successfully, but these errors were encountered:
要看上下文环境吧!一般都是window下的。
Sorry, something went wrong.
不一样,window.console.log只能在浏览器中使用
window.console.log
console.log在浏览器、Node等其他环境中都可以使用
console.log
两者在浏览器环境下都是一样的功能,但是在node环境中window.console.log就不可以了,因为它没有window对象。
No branches or pull requests
第266天 window.console.log()和console .log()有区别吗?体现在哪里?
作者:cxwht
我也要出题
The text was updated successfully, but these errors were encountered: