📜  javascript 字节 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:46.288000             🧑  作者: Mango

代码示例1
/*
  By using typed arrays, you can store arrays of these types:

  Int8
  Uint8
  Int16
  Uint16
  Int32
  Uint32
  Float32
  Float64
*/
var array = new Uint8Array(100);
array[42] = 10;
alert(array[42]);​