Working with operators and expressions. I need to create a fuction named addTime() that will create a new date object by ading a specified number of milliseconds to an initial time value. The function has 2 parameters, oldTime & milliSeconds. oldTime store date object representing an initial time value, milliSeconds stores amount of time, in milliseconds t hat should be added to oldTime parameter.
Your question requires a lot of work to do and cannot be done for free . Submit it as an assignment to the control panel and our experts will assist you.