Does JavaScript read's/executes code from top to bottom?

Does JavaScript read's/executes code from top to bottom?
0.0 0

#1

Im just wondering if it does, i was looking it up on internet and didnt find a straight answer.


#2