Basic Pattern Question In Javascript W3schools