JavaScript to Dart Translations

Google has released a JavaScript to Dart mapping site, which simplifies the basics of Dart programming for the JavaScript programmers. This site shows up some common JS idioms and their corresponding code in Dart.

Dart is a web programming language being developed by Google, and is set to replace JavaScript for speed and enhanced functionality. Currently, it is not supported by any browser.

 javascript-to-dart

Google describes its JS to Dart demo mapping site as, “We started with the basics that every JavaScript and jQuery developer knows: variables, arrays, functions, classes, DOM manipulation, and many more. Then, with the help of the Dart team, we recorded the corresponding Dart versions of each idiom.”.

This JavaScript to Dart mapping site is available here, and JavaScript developers will find it very useful for understanding the basics of Dart.