constsolution=(age,desiredAge)=>{if(age>21&&(desiredAge===20||desiredAge===21)&&age%2===desiredAge%2){return`${desiredAge}, in base ${~~(age/2)}`}return`Impossible`}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: Daily Challenge #234 - Happy Birthday!
For further actions, you may consider blocking this person and/or reporting abuse