Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

In what JavaScript does "console.log()" work in? -Thanks

+5 votes
asked Apr 16 by anonymous

2 Answers

+2 votes
answered Apr 23 by jostin02630 (180 points)
I'm not sure if I fully understand your question, but console.log() works in most JavaScript environments.
You can use it in web browsers (open the console with F12), where it prints output in the browser console.

ah, the node.js is where it works, i  think?
0 votes
answered May 12 by Dana shroof (150 points)
It’s Javascript(Node) not Javascript(Rhino)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...