Answers for "how to write a program that alerts the first 3 letters of the current day in javascript"

0

how to write a program that alerts the first 3 letters of the current day in javascript

var currentDay = new Date();
currentDay.toString;
var b = currentDay.toString();
var c = b.slice(0,3);
document.write("Today is " + c);
Posted by: Guest on June-21-2020

Code answers related to "how to write a program that alerts the first 3 letters of the current day in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language