Very Confused With This Simple Javascript Code R Learnjavascript

Very Confused With This Simple Javascript Code R Learnjavascript