Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Js
document.write("Hello World!");

This prints the output to the rendered browser document.

However, this method is "strongly discouraged".
console.log('Hello World');

This prints output to the console on any standard browser.
console.log('Hello World')

"... The console object provides access to the debugging console".

There is also `info`, `warn`, `error`, `debug`, etc.
with Ada.Text_IO;
use Ada.Text_IO;
Put_Line ("Hello World!");

New implementation...
< >
programming-idioms.org