What are the tools that must be prepared to learn JavaScript? Especially for beginners, you can simply use the following tools:
First, open Google Chrome, then right click select "Inspect" -> Console.
You can also directly add program code in the browser console.
console.log("Hallo sobat Dicoding!")
If you are using node, then you can do the following:
We can conclude that the console can be used to test a function or JavaScript code. We can also use the console to view error messages when debugging the program. What's next? You can conclude it yourself.