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

`Object.values` 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.values`.

PR Close #40370

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