• 2022-06-12
    Date对象问题4:Date对象正确获取年份的方法是:
    A: var now = new Date();var year = now.Year();
    B: var now = new Date();var year = now.getYear();
    C: var now = new Date();var year = now.getFullYear();
    D: var now = new Date();var year = now.getNowYear();