News for hackers. Stuff that matters.
Re:Show HN: Rebuilt My CSS Grid Generator with Vue.js by loarabia on Tuesday November 13, 2018 @01:31PM (#18443412)
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.

There are no comments on this comment yet.