G
G
Galdar Turin2021-08-05 01:21:31
Node.js
Galdar Turin, 2021-08-05 01:21:31

How to give a class two parents?

Here I am writing to the Connect class of the Main parent, and I also want to add the Token class, but it doesn’t work with a comma, and I can’t find something in the docks that will solve my Wishlist. Can this be done at all or is there some other way?
class Connect extends Main {

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
veryoriginalnickname, 2021-08-05
@Galdar

link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question