What happens is nothing special. It just typeiddoes not promise to return the "original" type name, but just a name.
The function returns a string defined by the implementation, which, if you're lucky, is recognizable, but it does not promise this.
source
share