Javascript is a computer language used on websites and browsers to create enhanced user interfaces and dynamic content. When using JavaScript based code on a website, care must be taken to ensure that the code is compatible with all browsers. Otherwise, some users may not be able to use all content.