JavaScript: Browser Compatibility

By: Dusty Arlia
Published on February 20, 2013
Last Updated on Saturday, July 11, 2015 at 6:44 PM
Total Updates: 3

JavaScript is defined in the ECMA-262 specification, but each browser interprets this specification differently (just like in HTML and CSS). This is why you will notice differences between browsers. As browsers release new versions, this problem becomes less noticeable. In the past, Internet Explorer was not following these standards closely and was losing market share because of it. It became clear that it was beneficial for the browser vendors to implement the web standards as closely as possible.

There has always been some JavaScript compatibility issues across all the major web browsers since JavaScript was born. Different versions of JavaScript and how JavaScript is actually interpreted has always varied. This is the nature of interpreted languages. Certain mobile browsers will not support JavaScript at all.