If you execute that stuff on a pure client, it will be client-sided.
If you execute stuff on a pure server, it will be server-sided.
If you execute it on a hybrid (hosting from the client), it will be both.
When you start a server, code that makes it able to be a server is loaded.
When you load a client, code that makes it a client and not a server is loaded.