checkStrength = function(passwords) {
    return passwords.map(password => {
        const uppercase = /[A-Z]/.test(password);
        const lowercase = /[a-z]/.test(password);
        const numbers = /\d/.test(password);
        const special = /[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]+/.test(password);
        const isStrong = password.length >= 8 && uppercase && lowercase && numbers && special;
        return { password, isStrong };
    });
}
checkStrength: Checks the strength of an array of passwords based on specific criteria.