June 2024 web platform update
Now widely available on the web platform
Widely available
-
SharedArrayBuffer and Atomics: The
SharedArrayBuffer
object represents bytes shared between multiple workers and the main thread. TheAtomics
object safely accessesSharedArrayBuffer
data to make sure predictable values are read and written and that operations are not interrupted. Learn more. -
Threads and atomics (WebAssembly): Threads in WebAssembly run code in parallel, while atomic memory instructions can guarantee that no two threads can read or write to shared memory at the same time. Learn more.
Newly available on the web platform
Newly available
-
Async clipboard: The
navigator.clipboard
API asynchronously reads and writes to the system clipboard. Learn more. -
Gradient interpolation: Gradient interpolation controls how the colors between gradient stops are calculated in CSS. For example,
linear-gradient(to right in oklch longer hue, red, red);
calculates in theoklch
color space, with the hue going all the way around the hue circle from red back to red. Learn more. -
Set methods: The
difference()
,intersection()
,isDisjointFrom()
,isSubsetOf()
,isSupersetOf()
,symmetricDifference()
, andunion()
methods of the JavaScriptSet
object performs operations between two sets. Learn more.