Index: sdk/lib/html/templates/immutable_list_mixin.darttemplate |
diff --git a/sdk/lib/html/templates/immutable_list_mixin.darttemplate b/sdk/lib/html/templates/immutable_list_mixin.darttemplate |
index b6a4b8bdb12c745d1e0689bce45b716ac2215ab2..43479e4864bd8adadc80ae71ad231d7864f93882 100644 |
--- a/sdk/lib/html/templates/immutable_list_mixin.darttemplate |
+++ b/sdk/lib/html/templates/immutable_list_mixin.darttemplate |
@@ -57,6 +57,8 @@ $endif |
return _Lists.lastIndexOf(this, element, start); |
} |
+ $E get first => this[0]; |
+ |
$E get last => this[length - 1]; |
$E removeLast() { |