How to Check If a Variable Exists in JavaScript | CodeTrail