This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
In this video we will discuss the difference between arrays and ArrayBuffers, as well as go through an example of how to create, append, and remove them.
New Terms:
Arrays -- An array is a data structure which stores a collection of elements of the same type. Arrays have a fixed size.
ArrayBuffer -- An ArrayBuffer is very similar to an array, except it can grow in size after it has been initialized.
Further Reading:
Arrays
ArrayBuffers
Array documentation & methods
ArrayBuffer documentation & methods
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up