access modifier

Access modifiers are used to set the accessibility of classes, methods, variables, and inheritance. 
Typically an access modifier can be used on a class, a method or a variable in a class, or used when inheriting another class. Note local variable in class method cannot have access modifiers.
* JavaScript have no privacy, there is no private or public access modifier. We can modify the variables at will.