Closed
Description
⚙ Compilation target
ESNext
⚙ Library
ESNext
Missing / Incorrect Definition
Uint8Array.fromBase64()
Uint8Array.fromHex()
Uint8Array.prototype.setFromBase64()
Uint8Array.prototype.setFromHex()
Uint8Array.prototype.toBase64()
Uint8Array.prototype.toHex()
These functions are implemented in stable Firefox and in the Safari Technology Preview.
Sample Code
new TextEncoder().encode('Hello World').toBase64()
// "SGVsbG8gV29ybGQ="
Documentation Link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/toBase64