JS: Avoid side effects on object passed to r.connect
JS: Avoid side effects on object passed to r.connect

(The true author of this is @marshall007 in a comment in PR 6135.)

JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb