Intro to Typed Arrays in JavaScript

August 7, 2018 comments 91 Reads

Typed Arrays are an efficient way to store arrays of numbers that are of the same type – 8-bit integer, unsigned 16-bit integers, 32-bit floats, etc.
This tutorial explains the basic idea behind them and provides a very basic code sample on how to create one and access it’s values.
The code gist includes links to the MDN documentation pages for all the main types and objects discussed.
Code GIST: