Skip to content

Veraltetes JavaScript #561

@fauenem

Description

@fauenem
URL   Verschwendete Bytes
dasdasd.de Eigene   19,3 KiB
…klaro/klaro.js(xxx.de.de)   19,3 KiB
…klaro/klaro.js:1:2209(xxx.de) @babel/plugin-transform-classes  
…klaro/klaro.js:1:112676(xxx.de.de) @babel/plugin-transform-spread  
…klaro/klaro.js:1:64150(xxx.de.de) Array.from  
…klaro/klaro.js:1:63380(xxx.de.de) Array.prototype.concat  
…klaro/klaro.js:1:63723(xxx.de.de) Array.prototype.filter  
…klaro/klaro.js:1:63978(xxx.de.de) Array.prototype.find  
…klaro/klaro.js:1:64315(xxx.de.de) Array.prototype.includes  
…klaro/klaro.js:1:65183(xxx.de.de) Array.prototype.join  
…klaro/klaro.js:1:65358(xxx.de.de) Array.prototype.map  
…klaro/klaro.js:1:65670(xxx.de.de) Array.prototype.slice  
…klaro/klaro.js:1:66701(xxx.de.de) Array.prototype.sort  
…klaro/klaro.js:1:70036(xxx.de.de) Object.assign  
…klaro/klaro.js:1:84691(xxx.de.de) Object.create  
…klaro/klaro.js:1:70170(xxx.de.de) Object.entries  
…klaro/klaro.js:1:70318(xxx.de.de) Object.getOwnPropertyDescriptor  
…klaro/klaro.js:1:70538(xxx.de.de) Object.getOwnPropertyDescriptors  
…klaro/klaro.js:1:71012(xxx.de.de) Object.getPrototypeOf  
…klaro/klaro.js:1:71186(xxx.de.de) Object.keys  
…klaro/klaro.js:1:71320(xxx.de.de) Object.setPrototypeOf  
…klaro/klaro.js:1:76089(xxx.de.de) Reflect.construct  
…klaro/klaro.js:1:79082(xxx.de.de) String.prototype.endsWith  
…klaro/klaro.js:1:79455(xxx.de.de) String.prototype.includes  
…klaro/klaro.js:1:81835(xxx.de.de) String.prototype.startsWith  


Veraltetes JavaScript Geschätzte Einsparung von 19 KiB Dank Polyfills und Transformationen können ältere Browser die neuen JavaScript-Funktionen nutzen. Bei modernen Browsern hingegen sind viele davon nicht erforderlich. Du solltest den Build-Prozess deines JavaScripts so anpassen, dass [Baseline](https://web.dev/articles/baseline-and-polyfills?utm_source=lighthouse&utm_medium=lr)-Funktionen nicht transpiliert werden, es sei denn, du weißt, dass du ältere Browser unterstützen musst. [Hier erfährst du, warum die meisten Websites ES6+ Code ohne Transpilierung bereitstellen können](https://philipwalton.com/articles/the-state-of-es5-on-the-web/)LCPFCPNicht bewertet UR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions