My debugging work in IE ended today by finding that constructor.name
is undefined
.
I created the following simple code that reproduces the issue:
({}).constructor.name === undefined // => true
Is there any workaround to make this work?
Maybe overriding somehow the prototype?
If possible, I don't want to change the syntax, because the change would be major.