The `groups` property must be created unconditionally. https://github.com/tc39/proposal-regexp-named-groups/pull/40