mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
Changelog and markdown update
This commit is contained in:
@@ -32,23 +32,11 @@ This function will return a list of positions at a specific company.
|
||||
|
||||
This function will return the position list if the company name is valid.
|
||||
|
||||
## Example 1
|
||||
## Example
|
||||
|
||||
|
||||
```js
|
||||
// NS1:
|
||||
var COMPANY_NAME = "Noodle Bar";
|
||||
|
||||
var jobList = singularity.getCompanyPositions(COMPANY_NAME);
|
||||
```
|
||||
|
||||
## Example 2
|
||||
|
||||
|
||||
```js
|
||||
// NS2:
|
||||
const COMPANY_NAME = "Noodle Bar";
|
||||
|
||||
let jobList = ns.singularity.getCompanyPositions(COMPANY_NAME);
|
||||
const companyName = "Noodle Bar";
|
||||
const jobList = ns.singularity.getCompanyPositions(companyName);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user