how to write a program that alerts the first 3 letters of the current day in javascript code example
Example: 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);