DRY: syntax error:unexpected token


#1


DRY: output is NaN instead of 25
#2

the error message is syntaxerror:unexpected token


#3

Guess the problem is the semicolon after your first line. After function you directly need that {} block so rather put the semicolon at the end of this block.