DEV Community

Discussion on: How you turn a string into a number (or vice versa) with Dart

Collapse
wangonya profile image
Kelvin Wangonya Author

I didn't know you can use Javascript libraries in Dart. That's really cool.

Thread Thread
adam_cyclones profile image
Adam Crockett

Before Dart as it is today, Dart was going to be a replacement for JavaScript (in Googles mind), There is a Dartium version of chrome that ran Dart 1. The decision was made to rebirth Dart into what it is today, but I see that the JavaScript compiler exists. So the idea is not dead, just different.

Thread Thread
graphicbeacon profile image
Jermaine Oppong

The dart2js compiler to JavaScript is necessary if we need to develop apps that run on the web. An aim with Dart 2 was to improve the tooling geared towards clientside development. They wrote about this on their Medium blog.