diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/javascript.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DOCS/man/javascript.rst b/DOCS/man/javascript.rst index 0c099cad0a..74282250b6 100644 --- a/DOCS/man/javascript.rst +++ b/DOCS/man/javascript.rst @@ -196,7 +196,8 @@ Additional utilities Like ``print`` but also expands objects and arrays recursively. ``mp.utils.getenv(name)`` - Returns the value of the host environment variable ``name``, or empty str. + Returns the value of the host environment variable ``name``, or + ``undefined`` if the variable is not defined. ``mp.utils.get_user_path(path)`` Expands (mpv) meta paths like ``~/x``, ``~~/y``, ``~~desktop/z`` etc. |