Create a function that determines the minimum number of characters needed to make a strong password.
A password is considered strong if it satisfies the following criteria:
!@#$%^&*()-+Types of characters in a form you can paste into your solution:
const numbers = "0123456789"
const lower = "abcdefghijklmnopqrstuvwxyz"
const upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
const special = "!@#$%^&*()-+"
strongPassword(“Ed1”) ➞ 3
strongPassword(“#Innokodakademija”) ➞ 1
strongPassword("W1llth!spass?") ➞ 0
Try solving this without RegEx.