github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/doc/content/en/docs/javascript/print.md (about)

     1  ---
     2  title: "print"
     3  linkTitle: "print"
     4  date: 2021-11-20
     5  description: >
     6  
     7  ---
     8  
     9  In the JavaScript environment, there is a function called `print(string)` that outputs the specified string to the console.
    10  
    11  Example of using the `print` function:
    12  
    13  ```javascript
    14  print("Hello, world!");
    15  ```
    16  
    17  In this example, the `print` function takes the string "Hello, world!" as an argument and outputs it to the console.