If we don't have an anonymous function then the `DeveloperError.throwInstantionError` function has it's prototype modified everywhere it is used.  That seems like bad practice to me.