Question: [30 pts] checkPointGiga.js. When your JavaScript program is complete and correct (but not before), use Fugu or WinSCP to upload the .js file to your

 [30 pts] checkPointGiga.js. When your JavaScript program is complete and correct

[30 pts] checkPointGiga.js. When your JavaScript program is complete and correct (but not before), use Fugu or WinSCP to upload the .js file to your p2 folder on the server. In the Gregorian calendar, one common year has 365 days. a) Read about the JavaScript Date Object, and Date Get Methods. Confirm that the .js file is on the server by opening it in Chrome. The JavaScript code will not execute, but this is OK-- it will just open as a text file in the browser b) In Atom, create a new prhgram file named checkPointGiga.js in your p2 folder. Remember: It's what's on the server that gets graded. Be sure to test your website on the server in Chrome. b) Write and test a function named checkPointGiga that accepts a string representing a date of birth, and returns the date the user will be one billion seconds of age. Use function declaration syntax to define the function. 3. [10 pts] checkPointGiga-v2.js. a) In Atom, use the File > Save As.. command to save checkPointGiga.js as checkPointGiga-v2.js in your p2 folder. Examples: b) Rewrite function checkPointGiga using function expression syntax, as covered in class. //Lady Gaga checkPointGiga( "03/28/1986") > Sun Apr 08 2012 01:46:40 GMT-0700 (PT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!