Some details
Posted Feb 6, 2013 16:28 UTC (Wed) by
man_ls (subscriber, #15091)
In reply to:
Some details by nye
Parent article:
Reitter: Answering the question: "How do I develop an app for GNOME?"
There are incompatibilities at all levels across JavaScript implementations:
In practice web devs often assume that the latest version of all browsers have all the standard features -- until they find a feature (or a stupid implementation detail) that completely breaks some old IE version and have to back up. Real world example: IE 6 does not accept trailing commas in object definitions, and it refuses to render any page that contains them.
var object = {
attr1: 'cheese',
attr2: 'runny',
}
Note the comma after 'runny'; a pretty core language feature, and useful I would say. Even the much-hyped node.js has
pretty serious limitations in support for ECMAScript 5.
(
Log in to post comments)