So my knowledge on this is really sketchy and I've just started with Javascript so go easy please.

I've been trying to read up on this but my head can't quite understand whats going on.

This is...