Hello fellow coders!
I’m halfway through the Redux course and I can’t understand the difference between:
arr.push(); return arr;
I mean, aren’t these approaches the same? I accept the fact that the latter does not work properly (apparently it does not return the array with the pushed value at the end of it), but I need to know why! hahahaha.
Thank you so much.