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?
It’s the identity function.