• Here's the output that I get when I run the minified code from terminal:

    =undefined
    Connected!
    Uncaught Error: Field or method "connect" does not already exist, and can't create it on undefined
     at line 1 col 86
    ...g("Connected!"),void client.connect())
                                  ^
    in function called from system
    

    If I paste the unminified code into the web IDE, it works.

About