Javascript Date monthName()

Description

Javascript Date monthName()


'use strict';//from w  w w  . j av  a2s.  c  om

Date.prototype.monthName = function() {
    return this.toUTCString().split(' ')[2]
};



PreviousNext

Related