Is it bad practice to use either alert(), document.write or console.log() in Stack Snippets? I personally find alert() quite annoying, and console.log() takes time to see the output (you need to open browser dev tools). I always use document.write.
Are there any guidelines for how to display data to the user? I searched but could not find any. I did notice however, the post Introducing Stack Snippets that alert()s were use to demonstrate. But, one of the answers used jQuery's .innerHTML() method.
I also check out the blog post on Stack Snippets being introduced, but there was no information there either.
So my question is: What is the best way to display data to the user when using a Stack Snippet?
console.log()?