Syntax
info(...values?: ...any)Argumente
| Name | Typ | Beschreibung |
|---|---|---|
...values? | ...any | Optional values to print as an informational message. |
Beschreibung
Writes zero or more values as an informational message. Values are converted to strings and separated with tab characters. The function returns no values.
Rufe es mit 1 Parameter(n) auf: ...values. Die Argumenttabelle erklärt, welche Werte erforderlich sind und welche nur das Verhalten verfeinern.
Es gibt keine Daten zurück. Behandle den Aufruf als Aktion und fange Fehler an der Aufrufstelle ab.
Beispiel
Write an informational message to the active console output.
info("Loaded", "scripts", 3)