Here you can find the source of getDayName()
Date.prototype.getDayName = function() { var d = ['Sunday','Monday','Tuesday','Wednesday', 'Thursday','Friday','Saturday']; return d[this.getDay()]; }
Date.prototype.getDayName = function(){ return { 0: 'Sunday', 1: 'Monday', 2: 'Tuesday', 3: 'Wednesday', 4: 'Thursday', 5: 'Friday', 6: 'Saturday' ...
Date.prototype.getDayName = function () { var map = ['sun', 'mon', 'tue', 'wed', 'thr', 'fri', 'sat']; return map[this.getDay()]; };
Date.prototype.getDayName = function() "use strict"; var dayName = ["SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]; return dayName[this.getDay()]; };
Date.prototype.getDayName = function(){ var d = new Date(+this); var dayName = d.getDay(); switch(dayName) { case 0: return "Sunday"; break; case 1: return "Monday"; ...
Date.prototype.getDayName = function() { switch(this.getDay()) { case 1: return 'Monday'; case 2: return 'Tuesday'; case 3: return 'Wednesday'; case 4: ...