export default class Password {
    constructor(password) {
        this.password = password;
    }

    isNewPassword(passwords) {
        let isNew = true;
        passwords.forEach(pwd => {
            if (pwd.site === this.password.site && pwd.login === this.password.login) {
                isNew = false;
            }
        });
        return isNew;
    }
}

@@ -358,11 +358,60 @@
 w;%0A    %7D
+%0A%0A    json() %7B%0A        return this.password%0A    %7D
 %0A%7D%0A

add sugar in password object