const prefix = CSS.supports('position', 'sticky') ? 'sticky' : CSS.supports('position', '-webkit-sticky') ? '-webkit-sticky' : '';
@supportsis not supported in IE.
notwhen using either
@supports, especially when targeting older browsers.