Closed ksaldana1 closed 8 years ago
1) added missing semi-colons 2) moved variable declaration to top of function rather than redeclaring in if-else block. Was being hoisted to top of function anyway 3) changed double quotes to single quotes to match rest of program style
1) added missing semi-colons 2) moved variable declaration to top of function rather than redeclaring in if-else block. Was being hoisted to top of function anyway 3) changed double quotes to single quotes to match rest of program style