June 2023 web platform update
Newly available on the web platform
Newly available
-
calc() constants: The
e
,pi
,infinity
, andNaN
constants are accepted in CSS math functions such ascalc()
. Learn more. -
JavaScript modules in workers: The
Worker()
constructor accepts{ type: "module" }
to load scripts that useimport
andexport
. Also known as ECMAScript modules or ESM in workers. Learn more. -
window.print(): The
window.print()
method opens the browser's print dialog. Learn more.