Chrome 89 was released on 2nd March, 2021. Major web platform updates in this version include :
Support added for Web HID API. This API enables browser to connect with human interface devices (HIDs). A HID is one that takes input from or provides output to humans. Examples can be keyboards, mouse, touchscreens, game-pads etc.
Support added for Web NFC API. This API enables browser to connect with NFC devices.
Support added for Web Serial API. This API enables browser to connect with serial ports & devices.
Support added for Top-level await in Javascript modules. With this there is no need to wrap await inside an async function (only in modules).
// old behavior : needs async function to use await
(async function() {
await Promise.resolve(1);
}());
// new behavior : no async function required
await Promise.resolve(1);
Comments