Does jQuery class support interfaces that must be implemented by a class like Java does?
Does jQuery class support interfaces that must be implemented by a class like Java
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As JavaScript is a dynamic language interfaces would not normally be used, there’s more info in this question –
Are Interfaces in JavaScript necessary?
There was a book released some time ago that looked at implementing constructs like interfaces in JavaScript. Here’s a post from the blog of one of the book’s authors that specifically deals with implementing interfaces –
http://www.dustindiaz.com/roll-out-your-own-interface/