The JavaScript exception "can't access private field or method: object is not the right class" or "can't set private field: object is not the right class" occurs when a private field or method is get or set on an object that does not have this private property defined....does not have this private property defined. Message TypeError:...this private property. Private instance properties can only be...