time-to-botec/js/node_modules/@stdlib/utils/open-url/docs/repl.txt

26 lines
504 B
Plaintext
Raw Normal View History

{{alias}}( url )
Opens a URL in a user's default browser.
In a non-browser environment, the function returns an unreferenced child
process. In a browser environment, the function returns a reference to a
`window` object.
Parameters
----------
url: string
URL to open.
Returns
-------
out: process|Window
Child process or `window` object.
Examples
--------
> var out = {{alias}}( 'https://google.com' );
See Also
--------