Computer >> Computer tutorials >  >> Programming >> Javascript

Is there a Boolean Typed Array in JavaScript?


No, Boolean Typed Array does not exist. JavaScript supports the following typed arrays −

  • Int8Array
  • Uint8Array
  • Uint8ClampedArray
  • Int16Array
  • Uint16Array
  • Int32Array
  • Uint32Array
  • Float32Array
  • Float64Array

Above, you can see the typed arrays are only available for integers and floats various sizes.