— The ability to find and use the knowledge is more important than the ability to retain it imo
I say this because you should be starting your code with a business objective and only adding code which is designed to satisfy the objective; you dont’t start with a queue or stack before you know why you need one, you just start with a problem you would like to solve
— Unknow reference error: "image" var is not defined, means it fails to run the loop. also you use "i" without declaring it. PS: wear greensock, swim in codepen
— Still, i think the local dev and testing is above all those *pens online
— Is there a difference between array.map and array.foreach
— Map returns array
— Well of course
— A new array !
— What of foreach
— Not necessarily ! You can say ! forEach is a simple for loop for an array !
— It doesn't return anything ! It jist executes the commands for each element in the array !