mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
ae15914efa
Unfortunately, I haven't used most of the specialty APIs yet, so I'm not intimately familiar with where their documentation might be wrong. I figured some fixes were better than no fixes, and I can always make more fixes later. Fixes #1023.
17 lines
374 B
ReStructuredText
17 lines
374 B
ReStructuredText
print() Netscript Function
|
|
===========================
|
|
|
|
.. js:function:: print(args...)
|
|
|
|
:RAM cost: 0 GB
|
|
:param args: Values to be printed.
|
|
|
|
Prints any number of values to the script's logs.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
print("Hello world!"); // Prints "Hello world!" in the logs.
|
|
print({a:5}); // Prints '{"a":5}' in the logs.
|