Sitelab · Code Modernity Analysis

Examines a site's CSS, JavaScript and HTML and dates how current it is, year by year, while detecting the technologies and libraries in use.

Sitelab dates the syntax and APIs in your JavaScript by the year each one arrived. The catalog below groups them by era: code sitting in the upper groups lifts your modernity score, while pre-ES6 patterns pull it down.

Bleeding edge (2024+)

The newest language features and APIs

Array.fromAsyncPromise.withResolversObject.groupBystructuredCloneRegExp /v flagTemporal (proposal)

The 2024 baseline

Safe in modern browsers

top-level awaitArray.at()Object.hasOwnError.causefindLast().well-known APIs

Post-ES6 momentum (2017-2021)

Widely used modern syntax

async/awaitoptional chaining ?.nullish ??spread/restdynamic import()BigIntPromise.allSettled

The ES6 foundation (2015)

Where modern JS began

let/constarrow functionstemplate literalsdestructuringmodulesMap/SetPromiseclasses

Pre-ES6 patterns (they lower the score)

Worth modernising

varjQuery-dependent DOMXMLHttpRequestcallback pyramid== loose equalityIIFE module emulation

Code modernity is one dimension. To see your site's SEO, speed and security together, run the 80-check analysis in Turksemveri Web.

Free SEO Analysis →