I have a question that’s been nagging at me for quite a while now:
I’ve noticed when referencing example code in lessons about array iteration that the array can have a title implying plurality, while the iterator implies singularity. I created an example below to illustrate this. Is this normal behavior for js, in that the language is sophisticated enough to connect singular and plural versions of the same word (perhaps only in this context)? Thank you in advance!
let cookies = [ "tollhouse", "snickerdoodle", "thumbprint", "teacake" ];
cookies.forEach(cookie => {
console.log(cookie);
})