You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Location: Chapter 10 > Page 211 > "Additional Methods" > final code example and text below
You describe the subarray method, which for all intents and purposes seems to have identical behavior to the slice method originally from Array. For instance, slice supports the same signature, they both maintain the original array type…
Upon more careful doc reading, it seems subarray creates a sort of view on the original dataset, so modifying the result’s cells would also impact the original typed array? If so, that'd likely be the difference I'm looking for, but it doesn't appear / stand out in your text.
The text was updated successfully, but these errors were encountered:
Hi Nicholas,
Location: Chapter 10 > Page 211 > "Additional Methods" > final code example and text below
You describe the
subarray
method, which for all intents and purposes seems to have identical behavior to theslice
method originally fromArray
. For instance,slice
supports the same signature, they both maintain the original array type…Upon more careful doc reading, it seems
subarray
creates a sort of view on the original dataset, so modifying the result’s cells would also impact the original typed array? If so, that'd likely be the difference I'm looking for, but it doesn't appear / stand out in your text.The text was updated successfully, but these errors were encountered: