document learn js and make getServer not require sf5

This commit is contained in:
Olivier Gagnon
2021-10-11 16:18:05 -04:00
parent 010f43e5d4
commit dd61fd6efb
6 changed files with 12 additions and 16 deletions

View File

@@ -6,8 +6,6 @@ getServer() Netscript Function
:RAM cost: 2 GB
:param string hostname: Hostname of the server, defaults to host server.
If you are not in BitNode-5, then you must have Source-File 5-1 in order to run this function.
This function is meant to be used in conjunction with the :doc:`formulas API<../netscriptformulasapi>`.
Returns an object with the Server's stats. The object has the following properties::