Difficulty: hard
Size: L
A construction firm is doing small repairs. Make a program for inputting the repair work details and calculating its price. The price for an hour of work is 48 during the workdays and 72 on Sundays. Create a script file 07.10_functions.js and define there the following functions: allCapsTitleTrimmed(originalText) and isSunday(dateText) . The functions will be used in this program.
Sample output for shown input:
HINTS:
Date asDate = new Date();
Submit a link to your code (myy etc).