|
|
|
|
|
by loarabia
2776 days ago
|
|
Edge fails in the below code on TrimEnd with this message 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. |
|