McGill University interview question

how does javascript concatination work