-
Notifications
You must be signed in to change notification settings - Fork 36
Import Bytes #626
Copy link
Copy link
Open
Labels
from: otherProposed, edited, or co-edited by an individual or entity that doesn't have a more specific label.Proposed, edited, or co-edited by an individual or entity that doesn't have a more specific label.topic: javascriptSpec relates to the JavaScript programming languageSpec relates to the JavaScript programming languagevenue: Ecma TC39Spec is developed in Ecma TC39, which standardizes ECMAScript (aka JavaScript)Spec is developed in Ecma TC39, which standardizes ECMAScript (aka JavaScript)venue: WHATWG HTML Workstream
Description
WebKittens
No response
Title of the proposal
Import Bytes
URL to the spec
https://tc39.es/proposal-import-bytes/
URL to the spec's repository
https://github.com/tc39/proposal-import-bytes
Issue Tracker URL
No response
Explainer URL
No response
TAG Design Review URL
No response
Mozilla standards-positions issue URL
mozilla/standards-positions#1367
WebKit Bugzilla URL
No response
Radar URL
No response
Description
import bytes from "./photo.png" with { type: "bytes" };The bytes are returned as a Uint8Array backed by an immutable arraybuffer.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
from: otherProposed, edited, or co-edited by an individual or entity that doesn't have a more specific label.Proposed, edited, or co-edited by an individual or entity that doesn't have a more specific label.topic: javascriptSpec relates to the JavaScript programming languageSpec relates to the JavaScript programming languagevenue: Ecma TC39Spec is developed in Ecma TC39, which standardizes ECMAScript (aka JavaScript)Spec is developed in Ecma TC39, which standardizes ECMAScript (aka JavaScript)venue: WHATWG HTML Workstream