Computer Science, asked by boswassourav8904, 18 hours ago

Which of the following will display the value of birthday in the document , formatted as Wed Feb 08 2017 ? var birthday = new Date () ;​

Answers

Answered by bheemanaiknaik832
0

Answer:

birthday of wed Feb 08 2017

Answered by Jasleen0599
0

JavaScript

var birthday = new Date () ;​

alert(thisDay.toDateString())

Output

Wed Feb 08 2017

  • The alert() function is a helpful built-in JavaScript feature. This feature will show text in a pop-up dialogue box on the screen. We must first call the showAlert() function in order for this function to function. Events cause JavaScript functions to be called.
  • An alert box with a message and an OK button is displayed via the alert() method. When you want information to reach the user, you utilise the alert() method.
  • There is no way to apply CSS in the default alert box in JavaScript. You must first construct a unique alert box before styling it. jQuery will be used to generate the unique alert box, and CSS styles will be added.

#SPJ2

Similar questions