Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScripttyped arrays and ArrayBufferSingle-choice MCQ

What value comes out of the read, and what does it reveal about how typed arrays store numbers in the backing ArrayBuffer?

const u8 = new Uint8Array(1); u8[0] = -1; console.log(u8[0]); // ?