Reputation: 1746
I seem to remember there being a special name for a function whose output is always identical to its input, e.g.:
var whatsMyName = function (a) {
return a;
};
Does anyone know what such a function -- which, in practice, is pretty pointless -- is called?
Upvotes: 7
Views: 2441