Methods
(static) print(a) → {function}
Display the results of show on the console for debugging or other purposes.
Parameters:
| Name | Type | Description |
|---|---|---|
a |
* | The value to print |
- Source:
Returns:
The console.log function applied to the return value of show(a)
- Type
- function
Example
const lst = list(1,2,3);
print(lst); // "[1:2:3:[]]"