diff --git a/curriculum/challenges/english/blocks/lab-password-generator/66f53dc2c5bd6a11d6c3282f.md b/curriculum/challenges/english/blocks/lab-password-generator/66f53dc2c5bd6a11d6c3282f.md index 88989895aab..e0a71d17b8d 100644 --- a/curriculum/challenges/english/blocks/lab-password-generator/66f53dc2c5bd6a11d6c3282f.md +++ b/curriculum/challenges/english/blocks/lab-password-generator/66f53dc2c5bd6a11d6c3282f.md @@ -52,6 +52,15 @@ for (let char of password) { } ``` +Your function should return a randomly generated password which contains more than one unique character. + +```js +const passwordSetSize1 = new Set(generatePassword(12)).size; +const passwordSetSize2 = new Set(generatePassword(12)).size; +const passwordSetSize3 = new Set(generatePassword(12)).size; +assert.isAbove(passwordSetSize1 + passwordSetSize2 + passwordSetSize3, 3); +``` + Your function should return a new random string each time it is called. ```js