object orientend programming(OOP) <<
Previous Next >> environment
overview
Dart is an object-orented langule with C styie syntax which can optionally trans compile into Javascript.
Dart 是一種物基於C語法所產稱的件導向語言,其功能可將其語言轉換成Javascript
compares the features of Dart and JavaScript.
下表為Dart跟Javascript的差異比較
Feature |
Dart |
JavaScript |
Type system |
Optional, dynamic |
Weak, dynamic |
Classes |
Yes, single inheritance |
Prototypical |
Interfaces |
Yes, multiple interfaces |
No |
Concurrency |
Yes, with isolates |
Yes, with HTML5 web workers |
object orientend programming(OOP) <<
Previous Next >> environment