NorhanKhaled / SkillsAcademy-CAD

12 stars 4 forks source link

Course II - Developing Node.js Application on IBM Cloud #93

Open ojpeter opened 4 years ago

ojpeter commented 4 years ago

Page 33 -- importing of files in subdirectories. I was importing a file from this path './more/today'. Pointing to a folder like require('./more'), failed to expose the file. instead, the usual path reference worked.

Page 35 -- The code snippet does not run on a Sunday since the getDay() method return 0, substracting 1 makes it undefined.