📃 May 2025 release notes
Newly available
The following features are newly available:
-
RegExp.escape():
The
RegExp.escape()
static method takes a string and replaces any characters that are potentially special characters of a regular expression with equivalent escape sequences. For example,RegExp.escape("[abc]")
returns"\\[abc\\]"
.
Widely available
The following features are now widely available:
-
font-palette:
The
font-palette
CSS property selects a color palette from the font, optionally overriding individual colors in the@font-palette-values
at-rule.