3 ms·
+1, and also, safest place to use es6 right now is on the API side. No need to wait or use the transpiler.
by ulisesrmzroche 12y ago
+1, and also, safest place to use es6 right now is on the API side. No need to wait or use the transpiler.
- sethladd 12y agoCan you be more specific about what "API side" means?
- ulisesrmzroche 12y agoLike, when you build an API, (or other backend stuff) you're not concerned about browsers or the DOM - thats really just a delivery mechanism. So you can run --harmony within your own server and have it spit out JSON. Client doesn't know or care what your running, just the JSON.
- sethladd 12y agoAh, you mean "server side". Gotcha. Yes, building for the server is easier because you have a single runtime to target. In the case of Node, it's V8. In the case of Dart, it's Dart VM on the server.
- ulisesrmzroche 12y agoSo what's Dart vs ES6?