Remove left-over line in std Array

This commit is contained in:
dcodeIO
2018-11-12 12:45:44 +01:00
parent c93f02df69
commit 04a0cb8de7
3 changed files with 11 additions and 12 deletions

View File

@ -350,7 +350,6 @@ export class Array<T> {
}
slice(begin: i32 = 0, end: i32 = i32.MAX_VALUE): Array<T> {
var len = this.length_;
var length = this.length_;
if (begin < 0) begin = max(length + begin, 0);
else if (begin > length) begin = length;