String get first { if (this.length > 0) { return JS('String', '#[0]', this); } throw new StateError("No elements"); }