Comment Comment by loarabia Edge fails in the below code on TrimEnd with this messageMicrosoft Edge 44.17763.1.0Object doesn't support property or method 'trimEnd': function createTemplateArr(number) { return '1fr ' .repeat(number) .trimEnd() .split(' ') }MDN's compat chart doesn't make clear if Edge supports this or not but manual experimentation suggests not although trimRight is supported so a possible polyfill. I filed a bug against Edge just now. parent loarabia 8 years ago
Microsoft Edge 44.17763.1.0
Object doesn't support property or method 'trimEnd'
: function createTemplateArr(number) { return '1fr ' .repeat(number) .trimEnd() .split(' ') }
MDN's compat chart doesn't make clear if Edge supports this or not but manual experimentation suggests not although trimRight is supported so a possible polyfill. I filed a bug against Edge just now.