Is there a Boolean Typed Array in JavaScript?

JavascriptWeb DevelopmentFront End Technology

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.

Published on 18-Jan-2018 13:07:47