JavaScript
console.log("Welcome");console.log, cout, print, echo comparison
Output statements display results on the screen. Each language has a different command for showing output.
A notice board displays announcements. Output statements display program results.
Do not use the output command of one language in another language.
console.log("Welcome");cout << "Welcome";print("Welcome")<?php echo "Welcome"; ?>JS = console.log, C++ = cout, Python = print, PHP = echo.