Carousel

1var x = 10

assigns variable x the value 10

1$(()=>{ /* ... */ });

Registers an anonymous function to run when the page has loaded

1var carMake = carMake || "Ford";

If carMake exists, leaves it alone, otherwise declares it as a global variable with the String value Ford.

1className = i%2==0 ? 'even' : 'odd';

1x = Date();

Implicitly declares a global variable with a String value

1if(typeof age === NaN) { /*... */ }

Be aware that typeof NaN returns the String "number". Use isNaN() instead!

1const y = 30

Blah