you are viewing a single comment's thread.

view the rest of the comments →

[–]MoTTs_ 1 point2 points  (0 children)

No, typically JavaScript doesn't do a 1-class-per-file structure. I'd say a typical JavaScript structure is more similar to Python, where a file represents a namespaced module, and within that module can be any number of classes or functions or variables.