javascript exercisess from into class