Skip to content
New issue

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

Better:docs/rules/no-console #54

Open
DavidDong93 opened this issue Feb 12, 2016 · 1 comment
Open

Better:docs/rules/no-console #54

DavidDong93 opened this issue Feb 12, 2016 · 1 comment

Comments

@DavidDong93
Copy link

[docs/rules/no-console]
In JavaScript that is designed to be executed in the browser, it's considered a best practice to avoid using methods on console
在被设计成在浏览器中运行的JavaScript中,避免使用console的方法被认为是一种最佳作法

@DavidDong93
Copy link
Author

If you're using Node.js, however, console is used to output information to the user and so is not strictly used for debugging purposes
如果你正在使用 Node.js, console则是用于向用户输出信息,因此并不是严格用于调试目的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant