Accessing Data • index: Use [0] to get the first item. • at (): A modern way to get items. You can use negative numbers like -1 to get items from the end. This is safer than standard bracket notation ...
It creates a new array instead of changing the original one. • slice (): Grabs a piece of an array and puts it into a new array. Advanced Transformations • flat (): Turns a nested array into a single ...
A firefighter was transported to the hospital after battling a house fire in Gastonia on Tuesday. Crews from the Gastonia Fire Department, New Hope Fire Department, and Union Road Fire Department ...