var newFieldShow = function(hash) {
hash.w.fadeIn("2000");
};
I see this in some code I have retrieved from online. I've never seen hash mentioned.. I am trying to determine if it has something to do with hashing, or if it's just an event reference like function(event) which I'm used to seeing, and curious as to why it is being used here.
If someone sent me this code I would say that hash is an object with a property named w that looks to be a jQuery object (because of the fadeIn method).
hash could mean anything. Thus, the need to properly name variables (and function parameters) that make sense.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With