Unlike most programming languages, JavaScript has no concept of input or output.

there is a sentence

in MDN
May.10,2022

it is a scripting language that runs in the host environment (host environment), and any mechanism for communicating with the outside world is provided by the host environment.
The sentence that follows

has already been explained. If you want to be more specific, you can take a look at the following example.

for Java :

console.log('Hello World')
If you don't give it the host environment (browser, Node.js ), you can't see this output anywhere (outside).

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bae2-2c2df.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bae2-2c2df.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?