Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
acceptable_password_i solution in Uncategorized category for Acceptable Password I by Jon_Red
import assert from'assert';
function isAcceptablePassword(password:string):boolean{
return password.length>6;
}
// self-checks
assert.equal(isAcceptablePassword('short'), false);
assert.equal(isAcceptablePassword('muchlonger'), true);
assert.equal(isAcceptablePassword('ashort'), false);
June 29, 2020