added semi colons they were missing at the end of some examples

This commit is contained in:
Jordan Turner
2021-12-15 22:15:29 -07:00
parent db9b0a8ec8
commit e1e032b61f
6 changed files with 7 additions and 7 deletions

View File

@@ -28,9 +28,9 @@ export interface NS extends Singularity
```ts
export async function main(ns) {
// Basic ns functions can be accessed on the ns object
ns.methodName;
await ns.methodName;
// Some related functions are gathered under a sub-property of the ns object
ns.property.methodName
await ns.property.methodName
}
```
[ns2 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html) <hr>

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB