javascript understanding the weird parts 100 off

1 2 3