How would this be written on .js file. I need to create a variable named dateString which is equal to the following text string: weekday, month, day, year.
where weekday is the name of the weekday, month is the name of the month, day is the day of the month, and year is the four-digit year value. (HINT: Use the wdayName array using thisWDay variable as the index value to display the weekday name, the monthName array along with the thisMonth variable to display the month value, and the this Year variable to display the year value.)

posting your assignment doesn't really make me want to help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.