MAQ Software Interview Question

Why is JavaScript is linked at the end of the html page.