| Index: runtime/lib/byte_array.dart
|
| diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart
|
| index 0f97c3d20814c70f92ab99fbeb85e85707ee37ae..6d7b2e7798109a9fe383009dc4ddd4c373368c36 100644
|
| --- a/runtime/lib/byte_array.dart
|
| +++ b/runtime/lib/byte_array.dart
|
| @@ -206,6 +206,10 @@ abstract class _ByteArrayBase {
|
| "Cannot remove from a non-extendable array");
|
| }
|
|
|
| + get first {
|
| + return this[0];
|
| + }
|
| +
|
| get last {
|
| return this[length - 1];
|
| }
|
| @@ -1684,6 +1688,10 @@ class _ByteArrayViewBase {
|
| "Cannot remove from a non-extendable array");
|
| }
|
|
|
| + get first {
|
| + return this[0];
|
| + }
|
| +
|
| get last {
|
| return this[length - 1];
|
| }
|
|
|