static variables in javascript
static variables in javascript A static vriable means it will have same value for all the instance of the object . we know that javascript functions and objects work in the same manner. So a function can have a member variable like in objects. A member variable will retain its value between function calls. So

