I am trying to use the URLPattern
browser api inside of my react app and I am getting an error Line 9:19: 'URLPattern' is not defined no-undef
the breaking code
const p = new URLPattern('https://example.com/foo/:image.jpg?*#*');
What are my doing wrong? My browser supports this feature.