fix(router): Remove usage of `Object.entries` to avoid the need for a polyfill (#40340)
fix(router): Remove usage of `Object.entries` to avoid the need for a polyfill (#40340)

`Object.entries` is not supported in IE11 without a polyfill. The quickest,
most straightfoward fix for this is to simply use `Object.keys` instead.
We may want to consider including the polyfill in the CLI in the future
or just wait until IE11 support is dropped before using
`Object.entries`.

PR Close #40340

alxhub/angular,ocombe/angular,mgechev/angular,angular/angular,mgechev/angular,angular-indonesia/angular,IdeaBlade/angular,manekinekko/angular,mgechev/angular,manekinekko/angular,blesh/angular,IdeaBlade/angular,gkalpak/angular,blesh/angular,alxhub/angular,ocombe/angular,angular/angular,JiaLiPassion/angular,angular/angular,JiaLiPassion/angular,shairez/angular,alxhub/angular,shairez/angular,gkalpak/angular,gnomeontherun/angular,ocombe/angular,IdeaBlade/angular,JiaLiPassion/angular,blesh/angular,alxhub/angular,alxhub/angular,brandonroberts/angular,brandonroberts/angular,brandonroberts/angular,gkalpak/angular,ocombe/angular,ocombe/angular,manekinekko/angular,manekinekko/angular,IdeaBlade/angular,brandonroberts/angular,manekinekko/angular,brandonroberts/angular,gnomeontherun/angular,shairez/angular,angular-indonesia/angular,IdeaBlade/angular,angular-indonesia/angular,gnomeontherun/angular,JiaLiPassion/angular,shairez/angular,gkalpak/angular,ocombe/angular,brandonroberts/angular,angular/angular,blesh/angular,blesh/angular,mgechev/angular,gnomeontherun/angular,manekinekko/angular,shairez/angular,angular-indonesia/angular,mgechev/angular