feat(browser): support Edge

Closes #3667
This commit is contained in:
Marc Laval
2015-08-16 01:30:18 +02:00
parent 914ca88e5d
commit 3b4965279c
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ export class ListWrapper {
static join(list: List<any>, s: string): string { return list.join(s); }
static isEmpty(list: List<any>): boolean { return list.length == 0; }
static fill(list: List<any>, value: any, start: number = 0, end: number = null) {
list.fill(value, start, end === null ? undefined : end);
list.fill(value, start, end === null ? list.length : end);
}
static equals(a: List<any>, b: List<any>): boolean {
if (a.length != b.length) return false;