this is a simple exercise I tried during the weekend to practice some data structures.
it is based on a prompt to chatGPT to come up with an array of objects and some objectives based on what I wanted to practice.
I will add more stuff to it as I have time
feel free to suggest some other practice you tried to polish these or other array methods.
Edit: also another thing I discovered was console.time to track your code's execution time. How it works:
Before code - function declaration write
console.time("execution time") - can be anything between the ""
After function was invoked type
console.timeEnd(" execution time") - it has to be the same message.