Hi Jim, here is my feedback on your homework.
- Your repo is missing the
.eslintrc.json file that we discussed in the lecture. Please check the VSCode Tips on how to create one.
- The folder
week1 should actually be called week2 as week1 was the Git session with Unmesh.
When I run your Christmas.js file I get immediately a run-time error:
let y = "Cat";
^
SyntaxError: Identifier 'y' has already been declared
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
That means I can't continue the review until you make corrections. How did you test your code? Please make sure that what you give me to review is able to run without requiring modifications from my side.
Let me know when it is corrected and I'll look again.
Hi Jim, here is my feedback on your homework.
.eslintrc.jsonfile that we discussed in the lecture. Please check the VSCode Tips on how to create one.week1should actually be calledweek2asweek1was the Git session with Unmesh.When I run your Christmas.js file I get immediately a run-time error:
That means I can't continue the review until you make corrections. How did you test your code? Please make sure that what you give me to review is able to run without requiring modifications from my side.
Let me know when it is corrected and I'll look again.