mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
Change alert to accept multiple args as other print functions (#2278)
This commit is contained in:
@@ -9,14 +9,14 @@ Open up a message box.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
alert(msg: string): void;
|
||||
alert(...args: any[]): void;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| msg | string | Message to alert. |
|
||||
| args | any\[\] | Value(s) to be alerted. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user