Is C# more secure than Javascript?

Lets say you need to develop a MMORPG with in-game-store. It’s more secure develop it under C# than Javscript or is the same? I put the example of a MMORPG because 2 things: (1) The intention of hacking of the clientand (2) The real money transaction through the store.

What do you think and WHY?

They’re the same thing in the end, so it makes no difference whatsoever.