Content deleted Content added
Tags: Mobile edit Mobile web edit Advanced mobile edit |
No edit summary |
||
Line 7:
The examples below make use of the log function of the console object present in most browsers for [[Standard streams#Standard output .28stdout.29|standard text output]].
The JavaScript [[standard library]] lacks an official standard text output function (with the exception of <code>document.write</code>). Given that JavaScript is mainly used for [[client-side scripting]] within modern [[Web browser]]s, and that almost all Web browsers provide the alert function, <tt>alert</tt> can also be used, but is not commonly used.
==Origins==
|