JS is a multi-paradigm language. And OOP is fully 1 of them.
Differences among Java, JS and even Python classes aren’t that large.
We can easily apply most of the OOP knowledge from 1 to the other.
I’ve got lotsa sketches written in both languages if you wish to take a look:
Java also got those starting at version 8. Again, same stuff. Java & JS are close cousins!