Look at the answer on sof: http://stackoverflow.com/q/11527494/343194
What mainstream languages have now, but js lacks, Dart has added.
JavaScript is a fast-growing language that Brendan Eich spent 10 days developing. It later became popular with the help of Netscape and Java. Its historical problems and language design problems are not as serious as usual. It was originally a toy, but suddenly it became a big hit.
Ever since, the bosses at Google came up with an idea (perhaps inspired by CoffeeScript). Dart absorbed functional languages, dynamic languages, declarative languages, static languages, procedural languages, imperative languages... So, Dart was born.
Look at the answer on sof: http://stackoverflow.com/q/11527494/343194
What mainstream languages have now, but js lacks, Dart has added.
JavaScript is a fast-growing language that Brendan Eich spent 10 days developing. It later became popular with the help of Netscape and Java. Its historical problems and language design problems are not as serious as usual. It was originally a toy, but suddenly it became a big hit.
Ever since, the bosses at Google came up with an idea (perhaps inspired by CoffeeScript). Dart absorbed functional languages, dynamic languages, declarative languages, static languages, procedural languages, imperative languages... So, Dart was born.
Finally, here is a: Dart language guide