TypeError: Cannot set properties of undefined (setting '0')

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

var complexArr =[1,5,2,6,"word"];
i32view[0] = 64;
var bytesize = 64;
var buffer = new Arraybuffer(bytesize);
var i32view = new Init32Array(buffer);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Challenge: Typed Arrays

Link to the challenge:

You are assigning a value to “i32view” before declaring it.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.