Doubt in this video

i dont understand this code