Date对象是JavaScript语言内建的数据类型。使用新的Date()创建日期对象。本文主要介绍JavaScript(JS) Date.getYear() 方法。 原文地址:JavaScript(JS) date.getYear()