Miscellaneous

info

Writes zero or more values as an informational message.

ไวยากรณ์

info(...values?: ...any)

Arguments

ชื่อชนิดคำอธิบาย
...values?...anyOptional values to print as an informational message.

คำอธิบาย

Writes zero or more values as an informational message. Values are converted to strings and separated with tab characters. The function returns no values.

เรียกด้วย parameter 1 ค่า: ...values ตาราง arguments อธิบายค่าที่จำเป็นและค่าที่ปรับพฤติกรรม

ไม่ส่งคืนข้อมูล ให้มอง call นี้เป็น action และจัดการ error รอบจุดที่เรียกเมื่อจำเป็น

ตัวอย่าง

Write an informational message to the active console output.

info("Loaded", "scripts", 3)