Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
devpopol's comments
login
devpopol
on July 3, 2010
|
parent
|
context
[–]
| on:
Ask HN: JavaScript dev environment ?
if(!window.console){window.console = {};} if(!(toString(window.console.log) === '[object Function]')) {window.console.log = function(){};}
there, fixed..
jmtulloss
on July 4, 2010
|
parent
[–]
This won't work in node. That's not a huge deal, but it's pretty simple to come up with a cleaner solution that works in all environments.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
there, fixed..