by rtpg · 12y ago · 0 comments
The patterns that Dart facilitate are just as easy to describe in JS.
// dart
var listA = listB + listC;
// js
var listA = listB.concat(listC);
That's just the tip of the iceburg. Overriding the [] accessor for custom list types opens up whole worlds of possibilities.So what are some examples of those things that would helper you write more concise code?
yea sure - almost nothing.