javascript understanding the weird parts

9/27/2020