I'm just learning JavaScript coming from a Java background and I have a question that I can't seem to get Google to answer!
When creating an object, let's say a Person object. Is it not possible to create a separate file named Person (like in Java) and use this again and again for separate websites? Or do you have to write what properties and methods the Person object should contain in every single site you want to use it on?
Is there no way to do this like in Java, where you have object classes?
Thanks :)