-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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 available as of Firefox 133 and Safari 18.2.
Sample Code
new TextEncoder().encode('Hello World').toBase64()
// "SGVsbG8gV29ybGQ="Documentation Link
MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/toBase64
TC39 Proposal: https://github.com/tc39/proposal-arraybuffer-base64
Firefox release notes: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/133#javascript
Safari release notes: https://developer.apple.com/documentation/safari-release-notes/safari-18_2-release-notes#JavaScript
Metadata
Metadata
Assignees
Labels
No labels