done Inheritance from another file
Iām not 100% sure I understand what you are asking but if my intuition is correct then you want to use JS modules. You can define and export a class in one file and then import into another.
3 Likes
thank you sir, one last question after exporting files you can now import that file and use extends ?
Yes. If you are importing a Class then you can use it the same way you would use any other Class, including extending it.
1 Like
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.