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.
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.