0
What is another way to show output in javascript aside from document.write() and alert()?
3 Respostas
+ 6
The best way to output Javascript variables is use document.getElementById to update any elements with selected id. You could also use document.getElementsByClassName to update elements with selected class name.
+ 1
Thanks !!
0
Another way to show output is by writing:
console.log().