Files
wordpress/wp-includes/blocks
Weston Ruter 8d8583d37e Bump esversion from 6 to 10 in JSHint config.
The current `esversion` 6 corresponds to an ECMAScript version from a decade ago (2015). Updating from 6 to 10 allows the following features to be used in Core JS: the exponentiation operator, async functions, shared memory, atomics, asynchronous iteration, rest/spread properties, various RegExp extensions, and optional catch bindings. These features have been supported by all browsers (except for IE11) well beyond WordPress's browser support policy. This also brings Core's allowed ES version closer in line with Gutenberg which is currently using features like async functions.

Props westonruter, swissspidy, mukesh27.
Fixes #63077.

Built from https://develop.svn.wordpress.org/trunk@59963


git-svn-id: http://core.svn.wordpress.org/trunk@59305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-10 21:26:25 +00:00
..
2024-05-31 18:59:00 +00:00
2024-05-31 18:59:00 +00:00
2024-05-31 18:59:00 +00:00