diff --git a/src/index.ts b/src/index.ts index 074645e..3632807 100644 --- a/src/index.ts +++ b/src/index.ts @@ -70,18 +70,11 @@ export const polyfills = { } export function isSupported() { - return ( - baseSupport && - Object.values(polyfills).every(polyfill => { - polyfill.isSupported() - }) - ) + return baseSupport && Object.values(polyfills).every(polyfill => polyfill.isSupported()) } export function isPolyfilled() { - return Object.values(polyfills).every(polyfill => { - polyfill.isPolyfilled() - }) + return Object.values(polyfills).every(polyfill => polyfill.isPolyfilled()) } export function apply() {