JavaScript | Class And Inheritance | Question 6

Last Updated :
Discuss
Comments

Which of the following is an example of a Mixin?

A function that adds methods to a class

A class that extends another class

A method inside a static class

A constructor with parameters

Share your thoughts in the comments