How to implement this feature in javascript ? Make uncertain , divorce, the wife say!

Posted by Kuiyou Li on Stack Overflow See other posts from Stack Overflow or by Kuiyou Li
Published on 2010-04-24T02:07:19Z Indexed on 2010/04/24 2:13 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

In the Javascript, could I define a class, the class itself can also when a function call, similar to the index, such as:

function A() { }

var a=new A(); var v=a(); //Use ordinary/like Javascript function use

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about class