Closed amirh715 closed 6 years ago
this._isLocked = false; Cannot set property '_islocked' of undefined. As soon as I instantiate I get the above error. What's the issue??
this._isLocked = false;
How do you instantiate?
const ac = AccessControl(); instead of const ac = new AccessControl(); Silly mistake!! sorry...
const ac = AccessControl();
const ac = new AccessControl();
no worries..
this._isLocked = false;
Cannot set property '_islocked' of undefined. As soon as I instantiate I get the above error. What's the issue??