diff --git a/modules/@angular/core/src/linker/compiler.ts b/modules/@angular/core/src/linker/compiler.ts index 8171011039..004f83a306 100644 --- a/modules/@angular/core/src/linker/compiler.ts +++ b/modules/@angular/core/src/linker/compiler.ts @@ -145,6 +145,6 @@ function _firstDefined(...args: T[]): T { function _mergeArrays(...parts: any[][]): any[] { let result: any[] = []; - parts.forEach((part) => result.push(...part)); + parts.forEach((part) => result.push.apply(result, part)); return result; }