Remove unnecessary reference

`Error.prototype.constructor` returns `Error`.
Merge pull request #2661 from tricknotes/remove-unnecessary-reference

Remove unnecessary reference