- print(object, …): void
-
Prints any text or text representation of object. If more than one argument is given, the values are printed separated by a single space.
Table 1. Parameters object
object
Any object
a = ["a", 1, 1.5]; print("Array: "); print(a); // Will print "Array: [a, 1, 1.5]"