Variable Might Not Have Been Initialized Js