This works both in the Web browser and in Node.js runtime environment.
console.log is not a normal API used for user-facing interaction.
This function is primarily used for debugging.
How we write
the "real" hello world programs will depend on the runtime environments.
If you run this simple
you will get the following output:
C C++ C# Clojure Crystal D Dart Erlang F# Go Haskell Java Julia Kotlin Lua Python Rust Scala Swift Typescript