I prefer not using try catch. Setting it to undefined would be enough.
Also add an comment mentioning the reason.