Subj : Javascript for dummies like me
To   : Sys64738
From : Digital Man
Date : Fri Dec 10 2021 10:08 am

 Re: Javascript for dummies like me
 By: Digital Man to Sys64738 on Fri Dec 10 2021 09:56 am

>   Re: Javascript for dummies like me
>   By: Sys64738 to Digital Man on Fri Dec 10 2021 08:36 am
>
>  >   Re: Javascript for dummies like me
>  >   By: Digital Man to Sys64738 on Thu Dec 09 2021 11:57:08
>  >
>  >  > Because JavaScript was designed without a "console" in mind. Core
>  >  > JavaScript makes no assumptions about the I/O capabilities (screen,
>  >  > file, or otherwise) of the environment in which the script is running.
>
>  > I see.  So, with Core Javascript is there a standard/universal "print"
>  > type option?
>
> No, because like I said, Core JavaScript makes no assumptions about the I/O
> capabilities of the environmnet.

And btw, this attribute is not unique to JavaScript. You've heard of the C and C++ programming languages, I'm sure. C and C++, the languages themselves, don't define a standard/universal "print" type function either.

There *are* "Standard Runtime Libraries" for the C and C++ which add that functionality (e.g. puts, printf), but they're not part of the core language definition. I've worked professionally on C projects where there was no "print" type functionality at all (we did not use a "standard runtime library", nor was there a console to print to in the execution environment).
--
                                           digital man (rob)

This Is Spinal Tap quote #8:
Derek Smalls: Making a big thing out of it would have been a good idea.
Norco, CA WX: 53.8�F, 81.0% humidity, 2 mph S wind, 0.03 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net