ga-wdi-boston / js-functions-ins-and-outs

JavaScript Function Arguments and Return Values.
Other
2 stars 174 forks source link

Call back example should be...? #22

Open payne-chris-r opened 8 years ago

payne-chris-r commented 8 years ago

values implies we expect an array as an argument (which we do later on in arrayTransform), recommending changing it to value

jrhorn424 commented 7 years ago

I believe this has been obsolesced by removing the transform function. I suggest we discuss whether to bring back transform, or motivate a different example other than "cheating" and "late" for callbacks?

gaand commented 7 years ago

Why was transformed removed? This seems to reduce the pedagogical value of the function as argument.