javascript understanding the weird parts

5 6 7 8 9