How to solve problem

please help me solve javascript blind distance in backwood forest

What is your problem? Could you describe it more careful?

i cant pass this level

Ok. Have you tried to solve it? Have you read the task and comments? Which errors/problems don’t allow you to pass the level? It’s hard to help you solve the level if don’t know what is your problem