Welcome 🙂 and don’t worry, in not too long you’ll forgot how much you didn’t know and be doing quite a lot with JS.
When we get to building complete JS themes then yes JS loops will replace PHP loops 🙂
However, if you have a normal PHP theme it will likely still run the Loop at the PHP level.
Hope that helps! Good question