💁 Cant see anything? Not a developer?
Do not worry, move on to the next demo on the main site.
If you are a dev; open the JavaScript Console and take a look at how the 'people & comments data' is organized using Array methods of 'Some' 'Every' & 'Find' with Vanilla JavaScript
Array Methods Using People & Comments
- .some = Checks if 'One' thing in the array meets what is being looked for.
- .every = Checks all adults to see if everybody is 19
- .find = Returns the first Item that is found using a specific ID returning true
- .find Index = Find where something is inside the array, can find the index and delete it with this function