Solutions of task from JavaSript Basics course in SoftUni