It comes down to personal preference and taste.
C is relatively simple, with few complicated functions in the standard libraries. The language is strictly typed, and you have to follow the rules. You can look at the code and argue about what it's doing without actually running it.
However, you have to pay attention to memory management, watch your pointers, and clean up after yourself.
JavaScript is more modern and has more features, but it can also be very loose with the types, which makes the code hard to argue about just by reading it, as it's not always clear what the type of your variables is at any given time. It has managed memory (Garbage Collection).